• Jeremy Hylton's avatar
    Simplify the Request class. The basic components of the parsed · 6c5e28c3
    Jeremy Hylton yazdı
    Request are now available as public attributes, e.g. full_url and
    host.  The accessor methods are deprecated.  The implementation
    replace the complicated __getattr__ machinery with a _parse() method.
    
    The response from an HTTP request is now an HTTPResponse instance
    instead of an addinfourl() wrapper instance.  The wrapper provided
    minimal extract functionality and was undocumented.  The API of
    addinfourl() was preserved, except for close hooks, by adding a few
    methods and public attributes to the HTTPResponse class.
    6c5e28c3
test_http_cookiejar.py 67.1 KB