Skip to content
Myr

Merge pull request #4496 from lolatravel/pass_send_kwargs_to_add_headers

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

Pass kwargs from adapter send call to add_headers, per documentation

authored by Ian Stapleton Cordasco · committed by GitHub · parents 5120664, 8e04052 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/adapters.py+1 added-1 removed
409 unmodified lines
410 conn = self.get_connection(request.url, proxies)411412 self.cert_verify(conn, request.url, verify, cert)413 url = self.request_url(request, proxies)414 self.add_headers(request)414 self.add_headers(request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies)415416 chunked = not (request.body is None or 'Content-Length' in request.headers)417418 if isinstance(timeout, tuple):
112 unmodified lines