Skip to content
Myr

prepare

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 ec5844a · Browse files · 1 file+5 added−0 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+5 added−0 removed

  • other:+5 added−0 removed

1 file+5 added−0 removed

modified:requests/models.py+5 added
9 unmodified lines
10import os11import socket12import collections13import logging14from copy import deepcopy1516from datetime import datetime17from io import BytesIO18
658 unmodified lines
677 return conn678 except LocationParseError as e:679 raise InvalidURL(e)680681 def prepare(self):682 return deepcopy(self)683684685686class Response(object):687 """The core :class:`Response <Response>` object. All688 :class:`Request <Request>` objects contain a689 :class:`response <Response>` attribute, which is an instance
236 unmodified lines