kr.motd.maven.sphinx.dist.urllib3.util.request$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
???? 1D f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; org/python/core/PyFrame setline (I)V
__future__ java/lang/String absolute_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.six b
integer_types !
exceptions # UnrewindableBodyError % gzip,deflate ' org/python/core/PyString ) fromInterned .(Ljava/lang/String;)Lorg/python/core/PyString; + ,
* - ACCEPT_ENCODING / object 1 getname .(Ljava/lang/String;)Lorg/python/core/PyObject; 3 4
5 org/python/core/PyObject 7 __call__ 9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; 9 :
8 ; _FAILEDTELL = None ? org/python/core/PyFunction A f_globals Lorg/python/core/PyObject; C D E make_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'}
H org/python/core/PyDictionary J org/python/core/Py L EmptyObjects [Lorg/python/core/PyObject; N O M P ([Lorg/python/core/PyObject;)V R S
K T (ILorg/python/core/PyObject;)V V
W getlocal (I)Lorg/python/core/PyObject; Y Z
[ __nonzero__ ()Z ] ^
8 _
isinstance a getglobal c 4
d str f m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; 9 h
8 i list k , m join o __getattr__ q 4
8 r S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; 9 t
8 u accept-encoding w __setitem__ 7(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)V y z
8 {
user-agent }
keep-alive
connection ? Basic ? decode ? utf-8 ? _add 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
8 ?
authorization ? proxy-authorization ? no-cache ?
cache-control ? f_lasti I ? ? ? 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 ? setException M(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException; ? ?
M ? org/python/core/PyTuple ? IOError ? OSError ?
? T org/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. ?
makeException 9(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;)V org/python/core/PyFunctionTable ? ()V R ?
? ? self Lurllib3/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_cache headers body pos body_pos
body_seek getMain ()Lorg/python/core/PyCode; main ([Ljava/lang/String;)V ? R ?
?
? org/python/core/CodeLoader createSimpleBootstrap 9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap;
runMain 5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V
M getCodeBootstrap !()Lorg/python/core/CodeBootstrap; #org/python/core/PyRunnableBootstrap# )getFilenameConstructorReflectionBootstrap 2(Ljava/lang/Class;)Lorg/python/core/CodeBootstrap;%&
$'
call_function S(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;
?+ G
?- ?
?/ ?
?1 org/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.py org/python/core/ThreadState= Code LineNumberTable StackMap
SourceFile RuntimeVisibleAnnotations ! ? ? 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+? ?? ? @ &