> For the complete documentation index, see [llms.txt](https://wiki.dewaka.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.dewaka.com/programming-languages/python/libraries/requests.md).

# requests

* [https://2.python-requests.org/en/master/user/advanced/#session-objects](https://github.com/dewaka/wiki/tree/93bcb0effef27e2f2c3db903011d209a4f957d81/programming-languages/python/libraries/Session%20objects/README.md) - Creating a session allows setting common headers, such as Authorization headers, for a set of requests,

  ```python
  s = requests.Session()
  s.headers.update({'Authorization': 'auth_data'})
  s.get(...) # Will contain Authorization details provided earlier
  ```
