Skip to content
Myr

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 file

Take it

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--------------1516All of Request's functionality can be accessed by these 5 methods. They17all return a :class:`Response <models.Response>` object.1819.. autofunction:: head20.. autofunction:: get21.. autofunction:: post22.. autofunction:: put23.. autofunction:: patch24.. autofunction:: delete252627-----------282930.. 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.5253Functions54~~~~~~~~~5556.. autofunction:: request5758Classes59~~~~~~~6061.. autoclass:: requests.models.Request62   :inherited-members:6364Structures65~~~~~~~~~~6667.. autoclass:: requests.structures.CaseInsensitiveDict68   :inherited-members: