Skip to content
Myr

Models cleanup

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent b8c55da · Browse files · 1 file+0 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−2 removed

  • other:+0 added−2 removed

1 file+0 added−2 removed

modified:requests/models.py-2 removed
6 unmodified lines
78"""910import urllib11import socket11import zlib12from Cookie import SimpleCookie1314from urlparse import urlparse, urlunparse, urljoin
166 unmodified lines
181 response.headers = CaseInsensitiveDict(getattr(resp, 'headers', None))182183 # Start off with our local cookies.184 cookies = self.cookies or dict()186 print ' %s' % str(cookies)185186 # Add new cookies from the server.187 if 'set-cookie' in response.headers:188 cookie_header = response.headers['set-cookie']
379 unmodified lines