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

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

There is a newer version: 2.10.0
Show newest version
????1Df$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
base64	b64encodepackages.sixb
integer_types!
exceptions#UnrewindableBodyError%gzip,deflate'org/python/core/PyString)fromInterned.(Ljava/lang/String;)Lorg/python/core/PyString;+,
*-ACCEPT_ENCODING/object1getname.(Ljava/lang/String;)Lorg/python/core/PyObject;34
5org/python/core/PyObject7__call__9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;9:
8;_FAILEDTELL=None?org/python/core/PyFunctionA	f_globalsLorg/python/core/PyObject;CD	Emake_headers$1
    Shortcuts for generating request headers.

    :param keep_alive:
        If ``True``, adds 'connection: keep-alive' header.

    :param accept_encoding:
        Can be a boolean, list, or string.
        ``True`` translates to 'gzip,deflate'.
        List will get joined by comma.
        String will be used as provided.

    :param user_agent:
        String representing the user-agent you want, such as
        "python-urllib3/0.6"

    :param basic_auth:
        Colon-separated username:password string for 'authorization: basic ...'
        auth header.

    :param proxy_basic_auth:
        Colon-separated username:password string for 'proxy-authorization: basic ...'
        auth header.

    :param disable_cache:
        If ``True``, adds 'cache-control: no-cache' header.

    Example::

        >>> make_headers(keep_alive=True, user_agent="Batman/1.0")
        {'connection': 'keep-alive', 'user-agent': 'Batman/1.0'}
        >>> make_headers(accept_encoding=True)
        {'accept-encoding': 'gzip,deflate'}
    Horg/python/core/PyDictionaryJorg/python/core/PyLEmptyObjectsorg/python/core/PyObject;NO	MP([Lorg/python/core/PyObject;)VRS
KT(ILorg/python/core/PyObject;)VV
Wgetlocal(I)Lorg/python/core/PyObject;YZ
[__nonzero__()Z]^
8_
isinstancea	getglobalc4
dstrfm(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;9h
8ilistk,mjoino__getattr__q4
8rS(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;9t
8uaccept-encodingw__setitem__7(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Vyz
8{
user-agent}
keep-alive
connection?Basic ?decode?utf-8?_add6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject;??
8?
authorization?proxy-authorization?no-cache?
cache-control?f_lastiI??	?urllib3/util/request$py?Lorg/python/core/PyCode;G?	??j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)VR?
B?make_headers?set_file_position$2
    If a position is provided, move file to that point.
    Otherwise, we'll attempt to record a position for future use.
    ?_isnot??
8?rewind_body?getattr?tell??(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;9?
8?setExceptionM(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException;??
M?org/python/core/PyTuple?IOError?OSError?
?Torg/python/core/PyException?match(Lorg/python/core/PyObject;)Z??
??java/lang/Throwable???	??set_file_position?
rewind_body$3?
    Attempt to rewind body to a certain position.
    Primarily used for request redirects and retries.

    :param body:
        File-like object that supports seek.

    :param int pos:
        Position to seek to in file.
    ?seek?AAn error occurred when rewinding request body for redirect/retry.?
makeException9(Lorg/python/core/PyObject;)Lorg/python/core/PyException;??
M?_is??
8?RUnable to record file position for rewinding request body during a redirect/retry.?
ValueError?4body_pos must be of type integer, instead it was %s.?type?_mod??
8??D	M???	??(Ljava/lang/String;)Vorg/python/core/PyFunctionTable?()VR?
??selfLurllib3/util/request$py;??	???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;??
M??	??
keep_alive?accept_encoding?
user_agent?
basic_auth?proxy_basic_auth
disable_cacheheadersbodyposbody_pos
	body_seekgetMain()Lorg/python/core/PyCode;main([Ljava/lang/String;)V?R?
?
?org/python/core/CodeLoadercreateSimpleBootstrap9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap;
runMain5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V
MgetCodeBootstrap!()Lorg/python/core/CodeBootstrap;#org/python/core/PyRunnableBootstrap#)getFilenameConstructorReflectionBootstrap2(Ljava/lang/Class;)Lorg/python/core/CodeBootstrap;%&
$'
call_functionS(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;
?+G
?-?
?/?
?1org/python/core/PyRunnable3 Lorg/python/compiler/APIVersion;value%Lorg/python/compiler/MTime;`9??Lorg/python/compiler/Filename;^/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/urllib3/util/request.pyorg/python/core/ThreadState=CodeLineNumberTableStackMap
SourceFileRuntimeVisibleAnnotations!??4???G?????	???+?
?N-S-+?N-2:+?:+??N-S-+?N-2:+?:+??N- S-"S-+?N-2:+ ?:-2:+"?:+?$?N-&S-+?N-2:+&?:+?(?.N+0-?N+?+2?6,?-?N+??8N+@?6-__S+@?6-__S+@?6-__S+@?6-__S+@?6-__S+@?6-__S?BY+?F-??I?.??N+?-?N+M??QN?BY+?F-????.??N+?-?N+_??QN?BY+?F-??˸.??N+?-?N+????@&	M_G?59+.?I?.W+/??KY?Q?UN+-?XN+0?+?\?`??+1?+b?e,+?\+g?e?j?`?+2??^+3?+b?e,+?\+l?e?j?`?(+4?n?.p?s,+?\?vN+-?XN?+6?+0?eN+-?XN+7?+?\N+?\x?.-?|N?+9?+?\?`?#+:?+?\N+?\~?.-?|N?+??>??>??>
?>>?>??>??>%?>????+Q???.W+R?+?\N+@?e-_??N?`?!+S?+??e,+?\+?\?jW??+T?+??e,+?\??.+@?e??N+@?e-_??N?`?l+V?+?\??s,??e:+?X:?-??+\?+?\N+??-?}???@QRSTVZ\A[I?>??>???>???>???>????+i?˸.W+j?+??e,+?\͸.+@?e??N+-?XN+k?+?\N+@?e-_??NY?`?W+b?e,+?\+"?e?j?`?e+m?+?\,+?\?vW?J+??N-??Y?8Y+??eSY+??eS???™+o?+&?e,ϸ.?v?ӿ?-??f+q?+?\N+>?e-_??N?`?+r?+&?e,ظ.?v?ӿ+u?+ڶe,ܸ.+޶e,+?\?v??v?ӿ+????q???@"ijkmoqruA?k?>8??>?????>???>??>?>6?>R???
?*??*???M,+????????M,?S,?S,?S,?S,S,S,S,+????????M,S,	S,+?M???????M,S,S,
S,+?_??????????	?!??Y???*? ?	!"???(?)*??6*,-?0 $(,?,??.??0??2??A$?>?>(?>?>,?>?>0?>?>4?>?>B<C56I786J9;6s<




© 2015 - 2024 Weber Informatics LLC | Privacy Policy