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

Oleg Kalnichevski edited comment on HTTPCLIENT-2277 at 9/18/23 8:23 AM:
------------------------------------------------------------------------

RFC 9111, section 2
{quote}The "cache key" is the information a cache uses to choose a response and 
is composed from, at a
minimum, the request method and target URI used to retrieve the stored response
{quote}
-At the moment HTTP cache uses the target URI only without including the 
request method.-

Edit: HttpClient presently supports caching of GET methods only treating HEAD 
as a special case of GET. We are unlikely to introduce caching of any other 
methods in the foreseeable future.

Oleg

 


was (Author: olegk):
RFC 9111, section 2
{quote}The "cache key" is the information a cache uses to choose a response and 
is composed from, at a
minimum, the request method and target URI used to retrieve the stored response
{quote}
At the moment HTTP cache uses the target URI only without including the request 
method.

Oleg

 

> HttpClient Cache conformance to RFC 9111
> ----------------------------------------
>
>                 Key: HTTPCLIENT-2277
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2277
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpCache
>            Reporter: Oleg Kalnichevski
>            Priority: Major
>          Time Spent: 14h
>  Remaining Estimate: 0h
>
> Ensure HttpClient Cache conforms to RFC 9111.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to