chansen / p5-http-tiny

Tiny HTTP Client
https://metacpan.org/dist/HTTP-Tiny
53 stars 52 forks source link

Add support for status 308 (Permanent Redirect), RFC 7238 #65

Closed dolmen closed 9 years ago

dolmen commented 9 years ago

308 is a new valid status code for redirect. https://tools.ietf.org/html/rfc7238 http://blogs.msdn.com/b/ieinternals/archive/2012/03/29/http-308-permanent-redirect-pushing-the-web-forward-by-breaking-unwanted-forward-compatibility.aspx

See also libwww-perl/http-message#22.

dagolden commented 9 years ago

I'll review this at the NY.pm hackathon this weekend.

dagolden commented 9 years ago

cherry-picked to master