mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
session.send()
This commit is contained in:
@@ -344,6 +344,10 @@ class Session(object):
|
||||
|
||||
return self.request('delete', url, **kwargs)
|
||||
|
||||
def send(self, request):
|
||||
"""Send a given PreparedRequest."""
|
||||
return request.send()
|
||||
|
||||
def __getstate__(self):
|
||||
return dict((attr, getattr(self, attr, None)) for attr in self.__attrs__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user