Orbits
1
|
Public Member Functions | |
def | __init__ |
def | prepare |
def | __repr__ |
def | copy |
def | prepare_method |
def | prepare_url |
def | prepare_headers |
def | prepare_body |
def | prepare_content_length |
def | prepare_auth |
def | prepare_cookies |
def | prepare_hooks |
Public Member Functions inherited from pip._vendor.requests.models.RequestEncodingMixin | |
def | path_url |
Public Member Functions inherited from pip._vendor.requests.models.RequestHooksMixin | |
def | register_hook |
def | deregister_hook |
Public Attributes | |
method | |
url | |
headers | |
body | |
hooks | |
Private Attributes | |
_cookies | |
The fully mutable :class:`PreparedRequest <PreparedRequest>` object, containing the exact bytes that will be sent to the server. Generated from either a :class:`Request <Request>` object or manually. Usage:: >>> import requests >>> req = requests.Request('GET', 'http://httpbin.org/get') >>> r = req.prepare() <PreparedRequest [GET]> >>> s = requests.Session() >>> s.send(r) <Response [200]>
def pip._vendor.requests.models.PreparedRequest.__init__ | ( | self | ) |
def pip._vendor.requests.models.PreparedRequest.__repr__ | ( | self | ) |
def pip._vendor.requests.models.PreparedRequest.copy | ( | self | ) |
def pip._vendor.requests.models.PreparedRequest.prepare | ( | self, | |
method = None , |
|||
url = None , |
|||
headers = None , |
|||
files = None , |
|||
data = None , |
|||
params = None , |
|||
auth = None , |
|||
cookies = None , |
|||
hooks = None |
|||
) |
Prepares the entire request with the given parameters.
def pip._vendor.requests.models.PreparedRequest.prepare_auth | ( | self, | |
auth, | |||
url = '' |
|||
) |
Prepares the given HTTP auth data.
def pip._vendor.requests.models.PreparedRequest.prepare_body | ( | self, | |
data, | |||
files | |||
) |
Prepares the given HTTP body data.
def pip._vendor.requests.models.PreparedRequest.prepare_content_length | ( | self, | |
body | |||
) |
def pip._vendor.requests.models.PreparedRequest.prepare_cookies | ( | self, | |
cookies | |||
) |
Prepares the given HTTP cookie data.
def pip._vendor.requests.models.PreparedRequest.prepare_headers | ( | self, | |
headers | |||
) |
Prepares the given HTTP headers.
def pip._vendor.requests.models.PreparedRequest.prepare_hooks | ( | self, | |
hooks | |||
) |
Prepares the given hooks.
def pip._vendor.requests.models.PreparedRequest.prepare_method | ( | self, | |
method | |||
) |
Prepares the given HTTP method.
def pip._vendor.requests.models.PreparedRequest.prepare_url | ( | self, | |
url, | |||
params | |||
) |
Prepares the given HTTP URL.
|
private |
pip._vendor.requests.models.PreparedRequest.body |
pip._vendor.requests.models.PreparedRequest.headers |
pip._vendor.requests.models.PreparedRequest.hooks |
pip._vendor.requests.models.PreparedRequest.method |
pip._vendor.requests.models.PreparedRequest.url |
Copyright 2014 Google Inc. All rights reserved.