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

Michael Osipov commented on HTTPCLIENT-1601:
--------------------------------------------

My intention was not to modify the tutorial because I did not write the code 
and cannot tell whether my changes still reflect the implementation. If you say 
that HttpClient is not able to retry a {{PUT}} in an idempotent way and the 
client must retry manually, you could have said so instead of closing and 
responding with

{quote}
RFC 2616 clearly defines PUT method as idempotent. See section 9.1.2 
"Idempotent Methods"

https://www.ietf.org/rfc/rfc2616.txt

Oleg
{quote}

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to