Skip to content
Myr

better index

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 0f76e17 · Browse files · 1 file+8 added−11 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+8 added−11 removed

  • other:+8 added−11 removed

1 file+8 added−11 removed

modified:docs/index.rst+8 added-11 removed
9 unmodified lines
1011Requests is an :ref:`ISC Licensed <isc>` HTTP library, written in Python, for human beings.1213Most existing Python modules for sending HTTP requests are extremely verbose14and cumbersome. Python's builtin :py:class:`urllib2` module provides all the15HTTP capabilities required, but the api is thoroughly **broken**. It reqires an16*enormous* amount of work (even method overrides) to perform the simplest of17tasks.14and cumbersome. Python's builtin :py:class:`urllib2` module provides most of15the HTTP capabilities you should need, but the api is thoroughly **broken**.16It reqires an *enormous* amount of work (even method overrides) to perform the simplest of tasks.1718Things shouldn’t be this way. Not in Python.1921Enter Requests. Requests allow you to send **GET**, **HEAD**, **PUT**,22**POST**, and **DELETE** HTTP requests. You can add headers, form data,23multipart files, and parameters with simple Python dictionaries, and access the24response data in the same way. It's powered by :py:class:`urllib2`, but it does25all the hard work and crazy hacks for you.262720It's Simple21-----------2223::
4 unmodified lines
28 json2930See `the same code, without Requests <http://gist.github.com/some-gist>`_.3132Requests allow you to send **GET**, **HEAD**, **PUT**,33**POST**, and **DELETE** HTTP requests. You can add headers, form data,34multipart files, and parameters with simple Python dictionaries, and access the35response data in the same way. It's powered by :py:class:`urllib2`, but it does36all the hard work and crazy hacks for you.3738Testimonals39-----------40
48 unmodified lines