Skip to content
Myr

whitespace

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 8d2ab68 · Browse files · 1 file+11 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+11 added−0 removed

  • other:+11 added−0 removed

1 file+11 added−0 removed

modified:requests/models.py+11 added
42 unmodified lines
43 self.timeout = timeout4445 #: Request URL.46 self.url = url4748 #: Dictonary of HTTP Headers to attach to the :class:`Request <models.Request>`.49 self.headers = headers5051 #: Dictionary of files to multipart upload (``{filename: content}``).52 self.files = files5354 #: HTTP Method to use. Available: GET, HEAD, PUT, POST, DELETE.55 self.method = method5657 #: Dictionary or byte of request body data to attach to the58 #: :class:`Request <models.Request>`.59 self.data = None6061 #: Dictionary or byte of querystring data to attach to the62 #: :class:`Request <models.Request>`.63 self.params = None6465 #: True if :class:`Request <models.Request>` is part of a redirect chain (disables history66 #: and HTTPError storage).67 self.redirect = redirect6869 #: Set to True if full redirects are allowed (e.g. re-POST-ing of data at new ``Location``)70 self.allow_redirects = allow_redirects7172 # Dictionary mapping protocol to the URL of the proxy (e.g. {'http': 'foo.bar:3128'})73 self.proxies = proxies7475 self.data, self._enc_data = self._encode_params(data)
6 unmodified lines
82 if isinstance(auth, (list, tuple)):83 auth = AuthObject(*auth)84 if not auth:85 auth = auth_manager.get_auth(self.url)8687 #: :class:`AuthObject` to attach to :class:`Request <models.Request>`.88 self.auth = auth8990 #: CookieJar to attach to :class:`Request <models.Request>`.91 self.cookiejar = cookiejar9293 #: True if Request has been sent.94 self.sent = False9596
498 unmodified lines