hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1601) Tutorial claims that PUT is not idempotent
Date Sun, 25 Jan 2015 19:03:34 GMT

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

Oleg Kalnichevski commented on HTTPCLIENT-1601:
-----------------------------------------------

You raised this issue as bug, which it is not, hence the resolution. HttpClient currently
conforms to RFC 2616. Compliance with RFC 7231 is planned for 5.0 only. Current version of
HttpClient assumes PUT method are not safe to retry for compatibility reasons by default.
It provides {{StandardHttpRequestRetryHandler}} for full RFC 2616 compliance as an option.

Oleg 

> Tutorial claims that PUT is not idempotent
> ------------------------------------------
>
>                 Key: HTTPCLIENT-1601
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1601
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 4.3.6
>            Reporter: Michael Osipov
>
> Open up [chapter 1.4.2|http://hc.apache.org/httpcomponents-client-ga/tutorial/html/fundamentals.html#d5e280],
it says that {{PUT}} is not idempotent. This clearly violates [RFC 7231, section 4.2.2|http://tools.ietf.org/html/rfc7231#section-4.2.2].
It should be checked whether this is just a documentation flaw or even maybe an implemenation
flaw.



--
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