All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kr.motd.maven.sphinx.dist.urllib3.request$py.class Maven / Gradle / Ivy

There is a newer version: 2.10.0
Show newest version
????1Wf$0R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;org/python/core/PyFramesetline(I)V

__future__	java/lang/Stringabsolute_import
org/python/core/imp
importFrom\(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;
setlocal/(Ljava/lang/String;Lorg/python/core/PyObject;)V
filepostencode_multipart_formdatapackages.six.moves.urllib.parse	urlencodeorg/python/core/PyList!org/python/core/PyObject#RequestMethods%org/python/core/PyString'fromInterned.(Ljava/lang/String;)Lorg/python/core/PyString;)*
(+([Lorg/python/core/PyObject;)V-.
"/__all__1object3getname.(Ljava/lang/String;)Lorg/python/core/PyObject;56
7RequestMethods$1
__module__:__name__<__doc__>?
    Convenience mixin for classes who implement a :meth:`urlopen` method, such
    as :class:`~urllib3.connectionpool.HTTPConnectionPool` and
    :class:`~urllib3.poolmanager.PoolManager`.

    Provides behavior for making common types of HTTP request methods and
    decides which type of request field encoding to use.

    Specifically,

    :meth:`.request_encode_url` is for sending requests whose fields are
    encoded in the URL (such as GET, HEAD, DELETE).

    :meth:`.request_encode_body` is for sending requests whose fields are
    encoded in the *body* of the request using multipart or www-form-urlencoded
    (such as for POST, PUT, PATCH).

    :meth:`.request` is for making any kind of request, it will look up the
    appropriate encoding format and use one of the above two methods to make
    the request.

    Initializer parameters:

    :param headers:
        Headers to include with all requests, unless other headers are given
        explicitly.
    @setBDELETEDGETFHEADHOPTIONSJ__call__S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;LM
$N_encode_url_methodsPNoneRorg/python/core/PyFunctionT	f_globalsLorg/python/core/PyObject;VW	X
__init__$2getlocal(I)Lorg/python/core/PyObject;[\
]__nonzero__()Z_`
$aorg/python/core/PyDictionarycorg/python/core/PyeEmptyObjectsorg/python/core/PyObject;gh	fi
d/headersl__setattr__n
$of_lastiIqr	sRW	fuurllib3/request$pywLorg/python/core/PyCode;Zy	xzj(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V-|
U}__init__True?	urlopen$3NotImplemented?	getglobal?6
?MClasses extending RequestMethods must implement their own ``urlopen`` method.?
makeException9(Lorg/python/core/PyObject;)Lorg/python/core/PyException;??
f??y	x?urlopen?	request$4?
        Make a request using :meth:`urlopen` with the appropriate encoding of
        ``fields`` based on the ``method`` used.

        This is a convenience method that requires the least amount of manual
        effort. It can be used in most situations, while still having the
        option to drop down to more specific methods when necessary, such as
        :meth:`request_encode_url`, :meth:`request_encode_body`,
        or even the lowest level :meth:`urlopen`.
        ?upper?__getattr__?6
$?9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;L?
$?(ILorg/python/core/PyObject;)V?
?_in6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject;??
$?request_encode_url?fields?
_callextra~([Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;??
$?request_encode_body??y	x?request?request_encode_url$5?
        Make a request using :meth:`urlopen` with the ``fields`` encoded in
        the url. This is useful for request methods like GET, HEAD, DELETE, etc.
        ?_is??
$?update???_add??
$?_iadd??
$??y	x?request_encode_body$6?
        Make a request using :meth:`urlopen` with the ``fields`` encoded in
        the body. This is useful for request methods like POST, PUT, PATCH, etc.

        When ``encode_multipart=True`` (default), then
        :meth:`urllib3.filepost.encode_multipart_formdata` is used to encode
        the payload with the appropriate content type. Otherwise
        :meth:`urllib.urlencode` is used with the
        'application/x-www-form-urlencoded' content type.

        Multipart encoding must be used when posting files, and it's reasonably
        safe to use it in other times too. However, it may break request
        signing, such as with OAuth.

        Supports an optional ``fields`` parameter of key/value strings AND
        key/filetuple. A filetuple is a (filename, data, MIME type) tuple where
        the MIME type is optional. For example::

            fields = {
                'foo': 'bar',
                'fakefile': ('foofile.txt', 'contents of foofile'),
                'realfile': ('barfile.txt', open('realfile').read()),
                'typedfile': ('bazfile.bin', open('bazfile').read(),
                              'image/jpeg'),
                'nonamefile': 'contents of nonamefile field',
            }

        When uploading a file, providing a filename (the first parameter of the
        tuple) is optional but recommended to best mimick behavior of browsers.

        Note that if ``headers`` are supplied, the 'Content-Type' header will
        be overwritten because it depends on the dynamic random boundary string
        which is used to compose the body of the request. The random boundary
        string can be explicitly set with the ``multipart_boundary`` parameter.
        ?body?	TypeError?Frequest got values for both 'fields' and 'body', can only specify one.?boundary?g(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject;L?
$?unpackSequence8(Lorg/python/core/PyObject;I)[Lorg/python/core/PyObject;??
f?org/python/core/PyTuple?!application/x-www-form-urlencoded?
?/__setitem__7(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)V??
$?Content-Type?__getitem__??
$??y	x?getf_locals()Lorg/python/core/PyObject;??
?9y	x?	makeClassa(Ljava/lang/String;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)Lorg/python/core/PyObject;??
f?java/util/Arrays?fill(([Ljava/lang/Object;Ljava/lang/Object;)V??
??(Ljava/lang/String;)Vorg/python/core/PyFunctionTable?()V-?
??selfLurllib3/request$py;??	x?newCode?(I[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZLorg/python/core/PyFunctionTable;I[Ljava/lang/String;[Ljava/lang/String;II)Lorg/python/core/PyCode;
fy	x?method
urlencode_multipartmultipart_boundarykw
urlopen_kwextra_kwcontent_typegetMain()Lorg/python/core/PyCode;main([Ljava/lang/String;)Vw-?
x
x!org/python/core/CodeLoader#createSimpleBootstrap9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap;%&
$'runMain5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V)*
f+getCodeBootstrap!()Lorg/python/core/CodeBootstrap;#org/python/core/PyRunnableBootstrap/)getFilenameConstructorReflectionBootstrap2(Ljava/lang/Class;)Lorg/python/core/CodeBootstrap;12
03
call_functionS(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;
x79
x9Z
x;?
x=?
x??
xA?
xCorg/python/core/PyRunnableE Lorg/python/compiler/APIVersion;value%Lorg/python/compiler/MTime;`9??Lorg/python/compiler/Filename;Y/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/urllib3/request.pyorg/python/core/ThreadStateOhCodeLineNumberTableStackMap
SourceFileRuntimeVisibleAnnotations!x?F??y9yZy?y?y?y?yR??+?
?N-S-+?N-2:+?:+??N-S-+?N-2:+?:+??N- S-+?N-2:+ ?:+??"Y?$Y&?,S?0N+2-?N+
??$N+4?8-__S&-???:+&?:-??+?t?v?S
9R??+;+=?8?+?A?,?+%?A?,W+'?+C?8,?"Y?$YE?,SYG?,SYI?,SYK?,S?0?ON+Q-?N+)??$N+S?8-__S?UY+?Y-?{?~N+?-?N+,??$N+S?8-__S+S?8-__S+??8-__S+S?8-__S?UY+?Y-???~N+?-?N+2??$N+S?8-__S+S?8-__S?UY+?Y-????,?~N+?-?N+H??$N+S?8-__S+S?8-__S?UY+?Y-????,?~N+?-?N+Y??$N+S?8-__S+S?8-__S+??8-__S+S?8-__S?UY+?Y-??Ǹ,?~N+?-?N+??S%'),2HYZRf4+*?+?^Y?b?W?dY?j?kN+?^m-?pN+?t?v?S*TxP$?R1+/?+???,??,?O???S/?Ra!+~?????????????TVHxP?xPBxP?xPQ?xP-?R?
?*??*??M,+????M,+&
?????M,	S,mS,+?)???{?M,	S,S,
S,?S,mS,S,S,S,+?,?????M,	S,S,
S,?S,mS,S,+?2?????M,	S,S,
S,?S,mS,S,S,+?H?????M,	S,S,
S,?S,mS,S,S,S,S,	?S,
S,+?Y????R??	R!?xY? ?"?(*?,?	-.Rx?4?56R*N*,-?H,048<@D?8??:????@??B??D??T?0xPxP4xPxP8xPxP<xPxP@xPxPDxPxPHxPxPLxPxPUNVGHIIJHJKMHsN




© 2015 - 2024 Weber Informatics LLC | Privacy Policy