[maemo-users] RSS reader behavior on HTTP redirects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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...).
>
[snip]
> 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.

Cheers,

Andrew

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

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



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux