[
https://issues.apache.org/jira/browse/HTTPCLIENT-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028923#comment-14028923
]
Francois-Xavier Bonnet commented on HTTPCLIENT-1515:
----------------------------------------------------
Personally I don't like very much this approach. In order to be consistent with
the specification I think there should be only 1 cache entry for 1 URI that may
contain or not an entity. The cache entries with an entity can be used to
answer GET and HEAD requests, the cache entries without an entity (created
because of a HEAD request) could be used only for HEAD requests.
But this will probably more complex to implement.
> 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]