This repository was archived by the owner on Jan 13, 2021. It is now read-only.
v0.3.0
New Features
- HTTP/1.1 support! See the documentation for more. (Issue #75)
- Implementation of a
HTTPHeaderMapdata 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, andgettrailersmethods on the response object have been removed, replaced instead with simple.headersand.trailersproperties that containHTTPHeaderMapstructures. - 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()toget_response(), becausegetresponse()was a terrible name forced upon me by httplib.
- The