[
https://issues.apache.org/jira/browse/HTTPCLIENT-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14029254#comment-14029254
]
Oleg Kalnichevski commented on HTTPCLIENT-1515:
-----------------------------------------------
bq. What I understand is that a GET and HEAD request to the same resource
should get exactly the same headers.
Just a remark: such was always my belief, too. However, in newer revisions of
the protocol (>= 1.1bis) this may no longer be the case. Response to a HEAD
method would have to contain the same _content_ headers only.
Oleg
PS: Folks, _please_ do not forget to vote!
> Caching responses to HEAD requests
> ----------------------------------
>
> Key: HTTPCLIENT-1515
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1515
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpCache
> Reporter: Tyrone Cutajar
>
> Our system retrieves metadata via HEAD requests using HTTP Client 4.x and
> would benefit immensely from having the headers in the response cached.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]