403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.208
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/dulwich/contrib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/dulwich/contrib/__pycache__/requests_vendor.cpython-313.pyc
�

mEdg���d�SrSSKJr SSKJr SSKJrJrJrJ	r	 SSK
JrJr "SS\5r
S	rg
)a�Requests HTTP client support for Dulwich.

To use this implementation as the HTTP implementation in Dulwich, override
the dulwich.client.HttpGitClient attribute:

  >>> from dulwich import client as _mod_client
  >>> from dulwich.contrib.requests_vendor import RequestsHttpGitClient
  >>> _mod_client.HttpGitClient = RequestsHttpGitClient

This implementation is experimental and does not have any tests.
�)�BytesIO)�Session�)�AbstractHttpGitClient�HTTPProxyUnauthorized�HTTPUnauthorized�default_user_agent_string)�GitProtocolError�NotGitRepositoryc�>^�\rSrSrSSU4SjjjrSSjrSrU=r$)�RequestsHttpGitClient�/c�>�X@lXPl[U5UlUbXE4URl[
TU]"SXS.UD6 g)N)�base_url�dumb�)�	_username�	_password�get_session�session�auth�super�__init__)�selfrr�config�username�password�kwargs�	__class__s       ��A/usr/lib/python3/dist-packages/dulwich/contrib/requests_vendor.pyr�RequestsHttpGitClient.__init__0sE���"��!��"�6�*�����!)� 4�D�L�L��
���@�(�@��@�c�8�URRR5nUbURU5 U(aSUS'OSUS'U(aURR	XUS9nOURRXS9nURS:Xa[eURS:Xa%[URRS5U5eURS	:Xa%[URRS
5U5eURS:wa[SURS
U35eURRS5UlSUlUR(aURUl[UR 5R"nXg4$)N�gzipzAccept-Encoding�identity)�headers�data)r&i�i�zWWW-Authenticatei�zProxy-Authenticate��zunexpected http resp z for zContent-Type�)rr&�copy�update�post�get�status_coderrrr
�content_type�redirect_location�history�urlr�content�read)rr2r&r'�allow_compression�req_headers�respr4s        r �
_http_request�#RequestsHttpGitClient._http_request=se���l�l�*�*�/�/�1�������w�'��-3�K�)�*�-7�K�)�*���<�<�$�$�S�D�$�I�D��<�<�#�#�C�#�=�D����s�"�"�"����s�"�"�4�<�<�#3�#3�4F�#G��M�M����s�"�'����(8�(8�9M�(N�PS�T�T����s�"�"�%:�4�;K�;K�:L�E�RU�QV�#W�X�X�!�L�L�,�,�^�<���!#����<�<�%)�X�X�D�"��t�|�|�$�)�)���z�r")rrr)NNNN)�returnN)NNF)�__name__�
__module__�__qualname__�__firstlineno__rr8�__static_attributes__�
__classcell__)rs@r r
r
/s%���HL�A�	
�A�A� � r"r
c�4�[5nURRSS05 S=n=n=pEUb�URSS5n[	U[
5(aUR
5nURSS5n[	U[
5(aUR
5nURSS5nURSS5n[	U[
5(aUR
5nUc
[5nURRS	U05 U(aXAl
OUS
LaXQl
U(aURRX"S.5 U$![a N�f=f![a N�f=f![a SnN�f=f![a SnN�f=f)N�Pragmazno-cacheshttpsproxys	useragents	sslVerifyTs	sslCAInfoz
User-agentF)�http�https)rr&r+r-�
isinstance�bytes�decode�KeyError�get_booleanr	�verify�proxies)rr�proxy_server�
user_agent�ca_certs�
ssl_verifys      r rr`s����i�G��O�O���H�j�1�2�8<�<�L�<�:�<��
��	�!�:�:�g�x�8�L��,��.�.�+�2�2�4��	����G�\�:�J��*�e�,�,�'�.�.�0�
�	��+�+�G�\�B�J�	��z�z�'�<�8�H��(�E�*�*�#�?�?�,����.�0�
��O�O���L�*�5�6��!��	�u�	�#���������L�M��N��C�	��	���	��	��
�	��J�	���	��H�	�sG�7E�+7E&�#E6�67F�
E#�"E#�&
E3�2E3�6F�F�F�FN)�__doc__�ior�requestsr�clientrrrr	�errorsr
rr
rrr"r �<module>rUs4��,
�����8�.�1�.�b,r"

Youez - 2016 - github.com/yon3zu
LinuXploit