Comment 0 for bug 1546844

Revision history for this message
Tomoe Sugihara (tomoe) wrote :

Release: Liberty
Platform: RDO on CentOS7

HEAD request for an non-existent object returns 404 (correct) with a body(incorrect), which violates HTTP/1.1 standard:
https://tools.ietf.org/html/rfc7231#section-4.3.2

This leads to a weird behavior in aws-sdk-ruby (1.60.2) where it tries to read the next response after HEAD and parse the status code, but it ends up reading the body that was incorrectly returned by the previous 404 response.

ref:
https://<email address hidden>/message/WZDC277UP67IHQKSRQXGSDKSMUOSN34L/