maskit commented on pull request #6908:
URL: https://github.com/apache/trafficserver/pull/6908#issuecomment-646490062


   I may be wrong because I'm not familiar with cache, but we may be able to 
handle Transfer-Encoding header as hop-by-hop header. Then the block that 
checks `is_this_a_hop_by_hop_header` would do the same thing.
   https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding
   
   FYI, sending Transfer-Encoding header in a response to a HEAD request seems 
like allowed.
   https://tools.ietf.org/html/rfc7230#section-3.3.1
   >   Transfer-Encoding MAY be sent in a response to a HEAD request or in a
      304 (Not Modified) response (Section 4.1 of [RFC7232]) to a GET
      request, neither of which includes a message body, to indicate that
      the origin server would have applied a transfer coding to the message
      body if the request had been an unconditional GET.
   


----------------------------------------------------------------
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]


Reply via email to