Changes for version 0.007 - 2011-01-12

  • Added support for redirecting 303 and 307 response codes
  • Retry (once) a request that fails due to a closed socket (per RFC2616 8.1.4)
  • Automatically sets request Content-Type to 'application/octet-stream' if there is content the user has not defined its type
  • Trailing headers from chunked transfer encoding are now merged into the response headers instead of ignored
  • Improved handling of malformed or unsupported HTTP protocols
  • Expanded http:///.../ as http://localhost/.../ and set Host header
  • Documented that URL's must be escaped/encoded
  • Documented that the headers hash option may contain an array reference to output multiple values of the same header field
  • Improved documentation of limitations
  • Added numerous new tests to ensure compliance with the HTTP/1.1 spec

Modules

A small, simple, correct HTTP/1.1 client

Provides

in lib/HTTP/Tiny.pm