You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2019/10/28 17:04:54 UTC

[GitHub] [trafficcontrol] guzzijason commented on issue #3965: Traffic Router inconsistent behavior on HTTP HEAD requests

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:
users@infra.apache.org


With regards,
Apache Git Services