Skip to content
Myr

improve top-level docstring

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

authored by Richard Jones · committed by Richard Jones · parent b9ecf45 · Browse files · 1 file+29 added−2 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+29 added−2 removed

  • other:+29 added−2 removed

1 file+29 added−2 removed

modified:requests/__init__.py+29 added-2 removed
4 unmodified lines
5# / ( (- (/ (/ (- _) / _)6# /78"""9requests10~~~~~~~~9requests HTTP library10~~~~~~~~~~~~~~~~~~~~~1112Requests is an HTTP library, written in Python, for human beings. Basic GET13usage:1415 >>> import requests16 >>> r = requests.get('http://python.org')17 >>> r.status_code18 20019 >>> 'Python is a programming language' in r.content20 True2122... or POST:2324 >>> payload = dict(key1='value1', key2='value2')25 >>> r = requests.post("http://httpbin.org/post", data=payload)26 >>> print r.text27 {28 // ...snip... //29 "form": {30 "key2": "value2",31 "key1": "value1"32 },33 // ...snip... //34 }3536The other HTTP methods are supported - see `requests.api`. Full documentation37is at <http://requests.rtfd.org/>.3839:copyright: (c) 2012 by Kenneth Reitz.40:license: ISC, see LICENSE for more details.4142"""
18 unmodified lines