Closed GoogleCodeExporter closed 9 years ago
Been looking at this some. It's not a huge deal, but Section 6.2.1 of the 0.2.
draft PSHB spec should probably not
imply the implementer SHOULD retry on all 4xx other than 404, as it really
depends on the particular 4xx.
Maybe the spec should say hubs SHOULD retry on all 5xx, and 4xx SHOULD each be
interpreted according to
HTTP: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html. One should not
retry on a 403, for example,
and maybe send cash before retrying on a 402. On the other hand, 408 seems
worth retrying in almost all
cases. 403, though, is definitely worth respecting-- it might even make for a
better explicit rejection code than
404.
Original comment by mason....@gmail.com
on 2 Oct 2009 at 11:46
Picking this one up again. My case against 403 is basically I've seen 403s
served
when someone misconfigured a reverse HTTP proxy and accidentally shut off their
own URLs for a period of time. I want to avoid these small-window
misconfigurations
from causing someone to lose all of their subscriptions due to automatic
refreshing
doing the retries during this failure window. Thus I think retrying on *all*
errors and
then only giving up after some number of hours is appropriate because it has
the
most error tolerance. Losing a sub and not knowing it is really bad!
Otherwise, I'll indicate that redirects are not honored for subscriber URLs-- I
think
that's consistent with peoples' expectations. It's also easy to resubscribe in
multiple
places, which makes this a non-issue. Redirect on POST while preserving the
verb is
hard to get right so we should avoid it.
Original comment by bslatkin
on 9 Feb 2010 at 3:18
Addressed in 0.3 draft spec
Original comment by bslatkin
on 9 Feb 2010 at 6:05
Original issue reported on code.google.com by
bslatkin
on 20 Jul 2009 at 5:12