hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyrone Cutajar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1515) Caching responses to HEAD requests
Date Sun, 16 Nov 2014 14:26:33 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14213932#comment-14213932
] 

Tyrone Cutajar commented on HTTPCLIENT-1515:
--------------------------------------------

Francois-Xavier,

A couple of things. I've removed the extra constructor arg 'requestMethod' in HttpCacheEntry
which is now defunct and also the additional constructors since the API is now unchanged.
I've added code to add the Hc-Request-Method header when a new HttpCacheEntry is created and
some tests to go with it. Patch attached.

> 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
>             Fix For: 4.4 Final
>
>         Attachments: HTTPClient-1515-add-request-method-headers.patch
>
>
> 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.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message