api.rst
This file
Path
docs/api.rst
68 lines · 1.3 KiB
Last changed by
add PATCH to docsKenneth Reitzbefore adoption15de7d9
History of this fileTake it
Big API updateKenneth Reitzbefore adoption6e13e73
lines 1–2why, one step back1.. _api:2api.py -> api.rstKenneth Reitzbefore adoption58d5e03
lines 3–5why, one step back3API4===5Big API updateKenneth Reitzbefore adoption6e13e73
line 6why, one step back6.. module:: requestsapi.py -> api.rstKenneth Reitzbefore adoption58d5e03
line 7why, one step back7Big API updateKenneth Reitzbefore adoption6e13e73
lines 8–12why, one step back8This part of the documentation covers all the interfaces of Requests. For9parts where Requests depends on external libraries, we document the most10important right here and provide links to the canonical documentation.1112api.py -> api.rstKenneth Reitzbefore adoption58d5e03
lines 13–15why, one step back13Main Interface14--------------15api updateKenneth Reitzbefore adoption7929bb9
lines 16–18why, one step back16All of Request's functionality can be accessed by these 5 methods. They17all return a :class:`Response <models.Response>` object.18add PATCH to docsKenneth Reitzbefore adoption15de7d9
line 19why, one step back19.. autofunction:: headBig API updateKenneth Reitzbefore adoption6e13e73
lines 20–22why, one step back20.. autofunction:: get21.. autofunction:: post22.. autofunction:: putadd PATCH to docsKenneth Reitzbefore adoption15de7d9
line 23why, one step back23.. autofunction:: patchBig API updateKenneth Reitzbefore adoption6e13e73
line 24why, one step back24.. autofunction:: deleteadd PATCH to docsKenneth Reitzbefore adoption15de7d9
line 25why, one step back25api updateKenneth Reitzbefore adoption7929bb9
lines 26–28why, one step back2627-----------28api.py -> api.rstKenneth Reitzbefore adoption58d5e03
line 29why, one step back29Big API updateKenneth Reitzbefore adoption6e13e73
lines 30–33why, one step back30.. autoclass:: requests.models.Response31 :inherited-members:3233api.py -> api.rstKenneth Reitzbefore adoption58d5e03
lines 34–36why, one step back34Exceptions35----------36Big API updateKenneth Reitzbefore adoption6e13e73
line 37why, one step back37.. autoexception:: HTTPErrorapi.py -> api.rstKenneth Reitzbefore adoption58d5e03
line 38why, one step back38Big API updateKenneth Reitzbefore adoption6e13e73
lines 39–45why, one step back39.. autoexception:: RequestException4041.. autoexception:: requests.models.AuthenticationError42.. autoexception:: requests.models.URLRequired43.. autoexception:: requests.models.InvalidMethod4445api.py -> api.rstKenneth Reitzbefore adoption58d5e03
lines 46–47why, one step back46Internals47---------Big API updateKenneth Reitzbefore adoption6e13e73
lines 48–68why, one step back4849These items are an internal component to Requests, and should never be50seen by the end user (developer). This part of the API documentation51exists for those who are extending the functionality of Requests.5253Functions54~~~~~~~~~5556.. autofunction:: request5758Classes59~~~~~~~6061.. autoclass:: requests.models.Request62 :inherited-members:6364Structures65~~~~~~~~~~6667.. autoclass:: requests.structures.CaseInsensitiveDict68 :inherited-members: