403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.193
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : ws67922704 ( 67922704)
PHP Version : 8.5.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/lib/python3/dist-packages/urllib3/util/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/urllib3/util/__pycache__/request.cpython-313.pyc
�

x8j ���%SSKJr SSKrSSKrSSKJr SSKJr SSKJ	r	 SSK
Jr \R(aSS	KJ
r
 S
r\"/SQ5rSrSSKr\S
-
rSSKr\S-
r"SS\5r\R2rS\S'\R8\\4r1SkrSSSjjr SSjr!SSjr""SS\RF5r$SSjr%g!\a SSKrN�f=f!\a N�f=f!\a N�f=f)�)�annotationsN)�	b64encode)�Enum�)�UnrewindableBodyError�)�to_bytes)�Finalz@@@SKIP_HEADER@@@)�accept-encoding�host�
user-agentzgzip,deflatez,brz,zstdc��\rSrSrSrSrg)�_TYPE_FAILEDTELL�'r�N)�__name__�
__module__�__qualname__�__firstlineno__�token�__static_attributes__r��6/usr/lib/python3/dist-packages/urllib3/util/request.pyrr's��
�ErrzFinal[_TYPE_FAILEDTELL]�_FAILEDTELL>�GET�HEAD�TRACE�DELETE�CONNECT�OPTIONSc��0nU(aG[U[5(aO-[U[5(aSRU5nO[nXS'U(aX&S'U(aSUS'U(a.S[UR
S55R53US'U(a.S[UR
S55R53US	'U(aS
US'U$)a�
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'.  If the dependencies for
    Brotli (either the ``brotli`` or ``brotlicffi`` package) and/or Zstandard
    (the ``zstandard`` package) algorithms are installed, then their encodings are
    included in the string ('br' and 'zstd', respectively).
    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:

.. code-block:: python

    import urllib3

    print(urllib3.util.make_headers(keep_alive=True, user_agent="Batman/1.0"))
    # {'connection': 'keep-alive', 'user-agent': 'Batman/1.0'}
    print(urllib3.util.make_headers(accept_encoding=True))
    # {'accept-encoding': 'gzip,deflate'}
�,rr
z
keep-alive�
connectionzBasic zlatin-1�
authorizationzproxy-authorizationzno-cachez
cache-control)�
isinstance�str�list�join�ACCEPT_ENCODINGr�encode�decode)�
keep_alive�accept_encoding�
user_agent�
basic_auth�proxy_basic_auth�
disable_cache�headerss       r�make_headersr37s���b!�G���o�s�+�+��
���
.�
.�!�h�h��7�O�-�O�%4�!�"�� *���� ,������Y�z�0�0��;�<�C�C�E�F�G�	�� ���Y�/�6�6�y�A�B�I�I�K�L�M�	�%�&��#-��� ��Nrc��Ub
[X5 U$[USS5bUR5nU$U$![a
 [nU$f=f)zs
If a position is provided, move file to that point.
Otherwise, we'll attempt to record a position for future use.
N�tell)�rewind_body�getattrr5�OSErrorr)�body�poss  r�set_file_positionr;�sa�����D���J�
��v�t�	$�	0�	��)�)�+�C��J�3�J���	��C��J�	�s�4�A�Ac���[USS5nUb[U[5(a
U"U5 gU[
La[	S5e[
S[U5S35e![an[	S5UeSnAff=f)z�
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.
�seekNzAAn error occurred when rewinding request body for redirect/retry.zRUnable to record file position for rewinding request body during a redirect/retry.z1body_pos must be of type integer, instead it was �.)r7r%�intr8rr�
ValueError�type)r9�body_pos�	body_seek�es    rr6r6�s�����f�d�+�I����H�c�!:�!:�	��h��

�[�	 �#�
4�
�	
�
�?��X��?O�q�Q�
�	
���	�'�S���
��	�s�A�
A7�&A2�2A7c�*�\rSrSr%S\S'S\S'Srg)�ChunksAndContentLength�ztyping.Iterable[bytes] | None�chunksz
int | None�content_lengthrN)rrrr�__annotations__rrrrrFrF�s��)�)��rrFc�^^�Tc SnUR5[;aSnOxSnOu[T[[45(a[T54n[
US5nO?[TS5(aSUU4SjjnU"5nSnO[T5nT4nURn[X4S9$![a/ [T5nSnN#![a [ST<35Sef=ff=f)a:Takes the HTTP request method, body, and blocksize and
transforms them into an iterable of chunks to pass to
socket.sendall() and an optional 'Content-Length' header.

A 'Content-Length' of 'None' indicates the length of the body
can't be determined so should use 'Transfer-Encoding: chunked'
for framing instead.
Nr�readc3�># �[T[R5nTRT5nU(dgU(aUR	S5nUv� M77f)Nzutf-8)r%�io�
TextIOBaserLr*)r*�	datablock�	blocksizer9s  ��r�chunk_readable�&body_to_chunks.<locals>.chunk_readable�sJ������b�m�m�4�F�� �I�I�i�0�	� ��� )� 0� 0�� 9�I���
�s�AAzO'body' must be a bytes-like object, file-like object, or iterable. Instead was )rHrI)�returnztyping.Iterable[bytes])
�upper�_METHODS_NOT_EXPECTING_BODYr%r&�bytesr	�len�hasattr�
memoryview�nbytes�	TypeError�iterrF)r9�methodrQrHrIrR�mvs` `    r�body_to_chunksr`�s����$�|����<�<�>�!<�<��N�!�N�
�D�3��,�	'�	'��4�.�"���V�A�Y���
��v�	�	�		 �		 � �!����	'��D�!�B��W�F��Y�Y�N�!��O�O���		�
��d���!%����
��8�8<�x�A����
��		�s�B$�$
C�/
B>�>C�C)NNNNNN)r,�bool | Noner-zbool | list[str] | str | Noner.�
str | Noner/rbr0rbr1rarTzdict[str, str])r9z
typing.Anyr:�_TYPE_BODY_POSITION | NonerTrc)r9ztyping.IO[typing.AnyStr]rB�_TYPE_BODY_POSITIONrT�None)r9ztyping.Any | Noner^r&rQr?rTrF)&�
__future__rrN�typing�base64r�enumr�
exceptionsr�utilr	�
TYPE_CHECKINGr
�SKIP_HEADER�	frozenset�SKIPPABLE_HEADERSr)�
brotlicffi�_unused_module_brotli�ImportError�brotli�	zstandard�_unused_module_zstdrrrrJ�Unionr?rdrVr3r;r6�
NamedTuplerFr`rrr�<module>rxs���"�	�
���.��	����"���G�H�� ���/�2��u��O��+��w��O��t��(8�'=�'=��
$�=��l�l�3�(8�#8�9��W��#�59�!�!�#'�!%�
N��N�2�N��N��	N�
!�N��
N��N�b�
��5����(
�<�V�.�.��
CP�
�CP�%(�CP�58�CP��CP��M�/�.�/���	��	���	��	�s<�C �C<� 
C-�*C0�,C-�-C0�0C9�8C9�<D�D

Youez - 2016 - github.com/yon3zu
LinuXploit