Skip to content
Myr

requests v2.4.2

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 79f56e2 · Browse files · 1 file+4 added−4 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+4 added−4 removed

  • other:+4 added−4 removed

1 file+4 added−4 removed

modified:requests/__init__.py+4 added-4 removed
11 unmodified lines
12Requests is an HTTP library, written in Python, for human beings. Basic GET13usage:1415 >>> import requests16 >>> r = requests.get('http://python.org')16 >>> r = requests.get('https://www.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)25 >>> r = requests.post('http://httpbin.org/post', data=payload)26 >>> print(r.text)27 {28 ...29 "form": {
11 unmodified lines
4142"""4344__title__ = 'requests'45__version__ = '2.4.1'46__build__ = 0x02040145__version__ = '2.4.2'46__build__ = 0x02040247__author__ = 'Kenneth Reitz'48__license__ = 'Apache 2.0'49__copyright__ = 'Copyright 2014 Kenneth Reitz'50
27 unmodified lines