RT bug for HTTP::Status - 304 should not be is_redirect
am 14.05.2006 03:44:35 von ryantateHello,
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@ryantate.com