guzzijason commented on issue #3965: Traffic Router inconsistent behavior on 
HTTP HEAD requests
URL: https://github.com/apache/trafficcontrol/issues/3965#issuecomment-547047350
 
 
   Per RFC 7231:
   ```
   The server SHOULD send the same
    header fields in response to a HEAD request as it would have sent if
    the request had been a GET, except that the payload header fields
   (Section 3.3) MAY be omitted.
   ```
   TR sends `Content-Length: 0` as part of a HTTP GET response, so based on the 
RFC recommended behavior, then I believe it should do the same in response to 
an HTTP HEAD.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to