You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Arturo Bernal (Jira)" <ji...@apache.org> on 2023/05/07 08:02:00 UTC

[jira] [Commented] (HTTPCLIENT-1713) Certain responses from a POST should be cacheable

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

Arturo Bernal commented on HTTPCLIENT-1713:
-------------------------------------------

[~olegk]

 

This can be close

[https://github.com/apache/httpcomponents-client/commit/f7ff1088cf4610613ec4b867ebc32021238f898a]

 

 

> Certain responses from a POST should be cacheable
> -------------------------------------------------
>
>                 Key: HTTPCLIENT-1713
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1713
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpCache
>            Reporter: Brian Chang
>            Priority: Minor
>              Labels: stuck, volunteers-wanted
>             Fix For: Stuck
>
>
> In {{ResponseCachingPolicy}}, only {{GET}} and {{HEAD}} methods are cacheable. However, according to RFC 2616 [https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5] a {{POST}} may be cacheable.
> The exact circumstances are better detailed here:
> [http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-20#section-2.3.4]



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

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