[maemo-users] [maemo-users] RSS reader behavior on HTTP redirects

From: Andrew Flegg andrew at bleb.org
Date: Sat Jan 6 13:43:17 EET 2007
On 1/6/07, Rhys Ulerich <rhys.ulerich at gmail.com> wrote:
> An interesting thing I have noticed with the RSS reader is that it
> both follows HTTP 3xx redirect responses (rock!) AND saves the newly
> received HTTP URL for the feed (not so rock...).
> As a suggestion, I think this update-URL-on-3xx behavior could be
> improved by having the RSS reader save the new URL if and only if the
> new URL contains valid feed content.

It's a nasty misfeature that. I'd raise it on http://bugs.maemo.org/
as a serious bug: 302 means "Moved Temporarily", RFC 2616[1]
*specifically* says user agents (such as the RSS reader) should not
store the resulting URL.

301 means "moved permanently" and so the new URL to the feed could be
saved, although it would still be worth the sanity check you suggest.

If the wifi provider was using 301 rather than 302 to redirect to the
login page, *they're* the ones mis-reading the specs, so the
enhancement you suggest would be useful there.



[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.3

Andrew Flegg -- mailto:andrew at bleb.org  |  http://www.bleb.org/

More information about the maemo-users mailing list