ankurpiyush26 / pubsubhubbub

Automatically exported from code.google.com/p/pubsubhubbub
Other
1 stars 0 forks source link

wrong response code typo #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
SUMMARY:

Typo, wrong http response code

RELEVANT SECTION: 7.2

COMMENT/REQUEST:

says : the hub MUST return a 204 Accepted response.

should be 202 Accepted . it occurs twice in that paragraph

Original issue reported on code.google.com by mteren...@gmail.com on 13 Jul 2009 at 11:37

GoogleCodeExporter commented 9 years ago
It should be "204 No Content". We decided to go with this because 202 indicates
something is left to be done from the perspective of the requestor. This makes 
sense
i the case of asynchronous subscription. But in the case of publishing, the 
work is
completely done, from the standpoint of the publisher, after the response is
received. The publisher just has to keep on serving its feeds like it did 
before.

Original comment by bslatkin on 14 Jul 2009 at 1:53

GoogleCodeExporter commented 9 years ago
Fixed by Jeff

Original comment by bslatkin on 22 Jul 2009 at 5:19