kr.motd.maven.sphinx.dist.requests.__init__$py.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sphinx-maven-plugin Show documentation
Show all versions of sphinx-maven-plugin Show documentation
Maven plugin that creates the site with Sphinx
???? 1? f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; __doc__ ?
Requests HTTP Library
~~~~~~~~~~~~~~~~~~~~~
Requests is an HTTP library, written in Python, for human beings. Basic GET
usage:
>>> import requests
>>> r = requests.get('https://www.python.org')
>>> r.status_code
200
>>> 'Python is a programming language' in r.content
True
... or POST:
>>> payload = dict(key1='value1', key2='value2')
>>> r = requests.post('http://httpbin.org/post', data=payload)
>>> print(r.text)
{
...
"form": {
"key2": "value2",
"key1": "value1"
},
...
}
The other HTTP methods are supported - see `requests.api`. Full documentation
is at .
:copyright: (c) 2017 by Kenneth Reitz.
:license: Apache 2.0, see LICENSE for more details.
org/python/core/PyString fromInterned .(Ljava/lang/String;)Lorg/python/core/PyString;
org/python/core/PyFrame
setglobal /(Ljava/lang/String;Lorg/python/core/PyObject;)V
setline (I)V
urllib3 org/python/core/imp importOne H(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject;
setlocal
chardet " warnings $
exceptions & java/lang/String ( RequestsDependencyWarning *
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject; , -
. org/python/core/Py 0 EmptyObjects [Lorg/python/core/PyObject; 2 3 1 4 org/python/core/PyFunction 6 f_globals Lorg/python/core/PyObject; 8 9 : check_compatibility$1 getlocal (I)Lorg/python/core/PyObject; = >
? split A org/python/core/PyObject C __getattr__ .(Ljava/lang/String;)Lorg/python/core/PyObject; E F
D G . I __call__ S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; K L
D M (ILorg/python/core/PyObject;)V O
P __debug__ R getglobal T F
U __nonzero__ ()Z W X
D Y org/python/core/PyList [ dev ] ([Lorg/python/core/PyObject;)V _ `
\ a _ne 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; c d
D e None g 9 1 h AssertionError j
makeException S(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyException; l m
1 n len p
newInteger (I)Lorg/python/core/PyInteger; r s
1 t _eq v d
D w append y 0 { unpackSequence 8(Lorg/python/core/PyObject;I)[Lorg/python/core/PyObject; } ~
1 org/python/core/PyTuple ? int ?
? a _ge ? d
D ? _le ? d
D ? __getslice__ j(Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
D ? _lt ? d
D ? f_lasti I ? ? ? requests$py ? Lorg/python/core/PyCode; <