Skip to content
Myr

default user agent!

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 5fff2c7 · Browse files · 1 file+2 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+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:requests/config.py+2 added-1 removed
51 unmodified lines
52 except AttributeError:53 return None54 return object.__getattribute__(self, key)5556settings = Settings()56settings = Settings()57settings.base_headers = {'User-Agent': 'python-requests.org'}