Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

v0.3.0

Compare
Choose a tag to compare
@Lukasa Lukasa released this 03 Apr 18:19
· 555 commits to development since this release

New Features

  • HTTP/1.1 support! See the documentation for more. (Issue #75)
  • Implementation of a HTTPHeaderMap data structure that provides dictionary style lookups while retaining all the semantic information of HTTP headers.

Major Changes

  • Various changes in the HTTP/2 APIs:
    • The getheader, getheaders, gettrailer, and gettrailers methods on the response object have been removed, replaced instead with simple .headers and .trailers properties that contain HTTPHeaderMap structures.
    • Headers and trailers are now bytestrings, rather than unicode strings.
    • An iter_chunked() method was added to response objects that allows iterating over data in units of individual data frames.
    • Changed the name of getresponse() to get_response(), because getresponse() was a terrible name forced upon me by httplib.