Closed GoogleCodeExporter closed 9 years ago
Yes this is a bug in the Hub implementation! Thanks for the report.
Original comment by bslatkin
on 2 Oct 2009 at 8:41
I came across this bug as well - since the spec says that it want a confirmation
right away I thought that a 202 Accepted would be suitable to tell the hub that
I had
received the XML but not processed it - only queued it.
Original comment by VoxPe...@gmail.com
on 2 Jan 2010 at 6:05
It hasn't been patched yet. Until then I suggest you return 200 or 204.
Original comment by kugutsu...@gmail.com
on 3 Jan 2010 at 3:05
Original comment by bslatkin
on 26 Feb 2010 at 11:03
I would argue that 200 should be defined as a failure, anyway. I believe it's
been
brought up on the list previously, but if a hub moves/shuts down/etc., then it's
possible that any page in its place would simply return 200 because that's what
pages
do. The hub will continue to POST to a subscriber until the subscription
expires or
auto-refresh kicks in and determines that the lease is no longer valid. (Which
could
be months or years from now, depending on the hub implementation.)
Successful codes for a POST of this sort should be > 200. 201 or 202
specifically,
but others would be acceptable.
Original comment by jrossi...@gmail.com
on 10 Mar 2010 at 11:16
Fixed in r363
Original comment by bslatkin
on 3 Jun 2010 at 11:53
Original issue reported on code.google.com by
kugutsu...@gmail.com
on 2 Oct 2009 at 2:39