RT bug for HTTP::Status - 304 should not be is_redirect
"Ryan Tate" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <005601c676f7$f4c32ff0$6401a8c0@administlj37z3> |
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 [email protected]