Skip to content
Myr

api.rst

This file

Path

docs/api.rst

57 lines · 1.2 KiB

Last changed by

doc cleanupsKenneth Reitzbefore adoption0c21aa5

History of this file

Take it

The walk stopped after 200 commits: lines older than 6e13e73 point at it.

Big API updateKenneth Reitzbefore adoption6e13e73

lines 1–15why, one step back
1.. _api:
23API4===56.. module:: requests78This 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.111213Main Interface14--------------15

:+1:Kenneth Reitzbefore adoptionf18c40f

line 16why, one step back
16All of Request's functionality can be accessed by these 6 methods. They

api updateKenneth Reitzbefore adoption7929bb9

lines 17–18why, one step back
17all return a :class:`Response <models.Response>` object.
18

add PATCH to docsKenneth Reitzbefore adoption15de7d9

line 19why, one step back
19.. autofunction:: head

Big API updateKenneth Reitzbefore adoption6e13e73

lines 20–22why, one step back
20.. autofunction:: get
21.. autofunction:: post22.. autofunction:: put

add PATCH to docsKenneth Reitzbefore adoption15de7d9

line 23why, one step back
23.. autofunction:: patch

Big API updateKenneth Reitzbefore adoption6e13e73

line 24why, one step back
24.. autofunction:: delete

doc cleanupsKenneth Reitzbefore adoption0c21aa5

line 25why, one step back
25.. autofunction:: request

add PATCH to docsKenneth Reitzbefore adoption15de7d9

line 26why, one step back
26

api updateKenneth Reitzbefore adoption7929bb9

lines 27–28why, one step back
27-----------
28

Big API updateKenneth Reitzbefore adoption6e13e73

lines 29–57why, one step back
29
30.. autoclass:: requests.models.Response31 :inherited-members:323334Exceptions35----------3637.. autoexception:: HTTPError3839.. autoexception:: RequestException4041.. autoexception:: requests.models.AuthenticationError42.. autoexception:: requests.models.URLRequired43.. autoexception:: requests.models.InvalidMethod444546Internals47---------4849These 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.5253Classes54~~~~~~~5556.. autoclass:: requests.models.Request57 :inherited-members: