Skip to content
Myr

behold the power of requests

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 20290e3 · Browse files · 2 files+3 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

2 files+3 added−1 removed

  • other:+3 added−1 removed

2 files+3 added−1 removed

modified:docs/index.rst+1 added-1 removed
13 unmodified lines
14**Warning:** Recreational use of other HTTP libraries may result in dangerous side-effects,15including: security vulnerabilities, verbose code, reinventing the wheel,16constantly reading documentation, depression, headaches, or even death.1718::18Behold, the power of Requests::1920 >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))21 >>> r.status_code22 200
129 unmodified lines
modified:README.rst+2 added
12 unmodified lines
13**Warning:** Recreational use of other HTTP libraries may result in dangerous side-effects,14including: security vulnerabilities, verbose code, reinventing the wheel,15constantly reading documentation, depression, headaches, or even death.1617Behold, the power of Requests:1819.. code-block:: python2021 >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))22 >>> r.status_code
74 unmodified lines