interagent / http-api-design

HTTP API design guide extracted from work on the Heroku Platform API
https://geemus.gitbooks.io/http-api-design/content/en/
Other
13.69k stars 1.07k forks source link

Disagreement with the explanation of 202 Status Code #5

Closed harikt closed 10 years ago

harikt commented 10 years ago

202: Request succeeded for a POST, DELETE, or PATCH call that will complete asynchronously

According to the http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html 202

The request has been accepted for processing, but the processing has not been completed.

So that doesn't means Request succeeded. The Request has successfully reached the server, and accepted for processing.

I was also looking at https://developer.yahoo.com/social/rest_api_guide/http-response-codes.html

geemus commented 10 years ago

Good point, fixed here: https://github.com/interagent/http-api-design/commit/1a52e845376502902a47ec451fc1ab579b063c9b, thanks!

harikt commented 10 years ago

Thank you.