RT bug for HTTP::Status - 304 should not be is_redirect

Hello,

I have filed an RT bug related to HTTP::Status:

http://rt.cpan.org/Public/Bug/Display.html?id=19243

I have posted the message below in case you prefer to read it over
email.

Cheers
RT


The 304 response header means "not modified," however HTTP::Status is
coded so that 304 is false for is_success and true for is_redirect. This
is clearly not a redirect, and also I would argue it is_success.

There is more information on the 304 header at:

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14 .24

and

http://fishbowl.pastiche.org/2002/10/21/http_conditional_get _for_rss_hac
kers

Ryan Tate
ryantate [at] ryantate.com
ryantate [ So, 14 Mai 2006 03:44 ] [ ID #1314546 ]
Perl » perl.libwww » RT bug for HTTP::Status - 304 should not be is_redirect

Vorheriges Thema: Why isn't Cache-Control removed with remove_content_headers?
Nächstes Thema: conns debug only in http10.pm - why?