Skip to content
Myr

Merge remote-tracking branch 'origin/master'

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 · parents bf05b7a, 418a209 · Browse files · 2 files+2 added−2 removed
This commit

State

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

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:requests/models.py+1 added-1 removed
293 unmodified lines
294 def prepare_headers(self, headers):295 """Prepares the given HTTP headers."""296297 if headers:298 self.headers = CaseInsensitiveDict(self.headers)298 self.headers = CaseInsensitiveDict(headers)299 else:300 self.headers = CaseInsensitiveDict()301302 def prepare_body(self, data, files):
784 unmodified lines
modified:requests/sessions.py+1 added-1 removed
17 unmodified lines
18from .utils import header_expand, from_key_val_list19from .packages.urllib3.poolmanager import PoolManager202122from adapters import HTTPAdapter22from .adapters import HTTPAdapter2324def merge_kwargs(local_kwarg, default_kwarg):25 """Merges kwarg dictionaries.26
358 unmodified lines