403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/botocore/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/botocore/__pycache__/awsrequest.cpython-314.pyc
+
��i�Z���^RIt^RIt^RIHt^RIt^RIHtHt^RI	H
t
Ht^RIt
^RIHtHtHtHtHtHtHt^RIHt]P0!]4t!RR]4t!R	R
4t!RR]]4t!R
R]]4t!RR]
4t!RR]4t R"Rlt!Rt"Rt#!RR4t$!RR4t%!RR4t&!RR4t'!RR4t(!R R!]4t)R#)#�N)�Mapping)�HTTPConnection�VerifiedHTTPSConnection)�HTTPConnectionPool�HTTPSConnectionPool)�HTTPHeaders�HTTPResponse�MutableMapping�	urlencode�urlparse�urlsplit�
urlunsplit)�UnseekableStreamErrorc�,a�]tRt^%toRtRtRtVtR#)�AWSHTTPResponsec�f�VPR4Vn\P!V.VO5/VBR#)�status_tupleN)�pop�
_status_tupler	�__init__��self�args�kwargss&*,�5/usr/lib/python3/dist-packages/botocore/awsrequest.pyr�AWSHTTPResponse.__init__(s+��#�Z�Z��7������d�4�T�4�V�4�c�t�VPeVPpRVnV#\P!V4#�N)rr	�_read_status)rrs& rr �AWSHTTPResponse._read_status,s8�����)��-�-�L�!%�D�����,�,�T�2�2r)rN)�__name__�
__module__�__qualname__�__firstlineno__rr �__static_attributes__�__classdictcell__��
__classdict__s@rrr%s����5�3�3rrc�aa�]tRt^5toRtV3RltV3RltR
V3RlltRtRRlt	Rt
RtR	tV3R
lt
RtRtVtV;t#)�
AWSConnectiona�Mixin for HTTPConnection that supports Expect 100-continue.

This when mixed with a subclass of httplib.HTTPConnection (though
technically we subclass from urllib3, which subclasses
httplib.HTTPConnection) and we only override this class to support Expect
100-continue, which we need for S3.  As far as I can tell, this is
general purpose enough to not be specific to S3, but I'm being
tentative and keeping it in botocore because I've only tested
this against AWS services.

c�t<�\SV`!V/VBVPVnRVnRVnRVnR#�FN)�superr�response_class�_original_response_cls�_response_received�_expect_header_set�_send_called)rrr�	__class__s&*,�rr�AWSConnection.__init__Bs=���
���$�)�&�)�&*�&9�&9��#�#(���"'���!��rc�p<�\SV`4RVnRVnRVnVP
VnR#r-)r.�closer1r2r3r0r/)rr4s&�rr7�AWSConnection.closeOs2���
��
��"'���"'���!���"�9�9��rc��<�Vf/pRVnVPRR4R8Xd	RVnMRVnVPVn\
SV`!WW4.VO5/VBpRVnV#)NF�Expectrs100-continueT)r1�getr2r0r/r.�request)	r�method�url�body�headersrr�rvalr4s	&&&&&*, �rr<�AWSConnection.requestWsm����?��G�"'����;�;�x��%��8�&*�D�#�&+�D�#�"&�"=�"=�D���w��v�D�K�D�K�F�K��"'����rc���.pVFLp\V\4'd#VPVPR44K;VPV4KN	RP	V4pV#)�utf-8�
)�
isinstance�str�append�encode�join)r�mixed_buffer�bytes_buffer�chunk�msgs&&   r�_convert_to_bytes�AWSConnection._convert_to_bytesdsZ����!�E��%��%�%��#�#�E�L�L��$9�:��#�#�E�*�	"�
�l�l�<�(���
rc��VPPR4VPVP4pVPR\V\4'dWA,
pRpVPV4VP'dn\PR4\PPVP^4'dVPV4R#\PR4VeVPV4R#R#)r:NNNNz"Waiting for 100 Continue response.zCNo response seen from server, continuing to send the response body.)rr)�_buffer�extendrOrF�bytes�sendr2�logger�debug�urllib3�util�
wait_for_read�sock�_handle_expect_response)r�message_bodyrrrNs&&*, r�_send_output�AWSConnection._send_outputqs��������J�'��$�$�T�\�\�2���L�L��O��l�E�*�*���C��L��	�	�#���"�"�"�
�L�L�=�>��|�|�)�)�$�)�)�Q�7�7��,�,�\�:�����.���#�
�I�I�l�#�$rc�<�RpVR8wdVP4pKR#)NrE)�readline)r�fp�currents&& r�_consume_headers�AWSConnection._consume_headers�s!������ ��k�k�m�G�!rc���VPPR^4pVP4pVPR^4pVP	V4'd9VPV4\PR4VPV4M�\V4^8Xd�V^,PR4'd�\PR4V^,PR4\V^,4V^,PR43p\P!\VR7pW`nRVnVP%4R# TP%4i;i)�rbNz5100 Continue response seen, now sending request body.�HTTP/zOReceived a non 100 Continue response from the server, NOT sending request body.�ascii)rT)r[�makefilera�split�_is_100_continue_statusrdrVrW�_send_message_body�len�
startswith�decode�int�	functools�partialrr/r1r7)rr]rb�maybe_status_line�partsrr/s&&     rr\�%AWSConnection._handle_expect_response�s���Y�Y�
�
��a�
(��%	� "���
��%�+�+�D�!�4�E��+�+�,=�>�>��%�%�b�)����K���'�'��5��U��q��U�1�X�%8�%8��%B�%B����A��
�!�H�O�O�G�,���a��M��!�H�O�O�G�,� ��
"+�!2�!2�#�,�"��'5�#�*.��'��H�H�J��B�H�H�J�s�8E�A%E�=A?E�E c�4�VeVPV4R#R#r)rU)rr]s&&rrm� AWSConnection._send_message_body�s���#��I�I�l�#�$rc�<�VP'd1VP'g\PR4RVnR#\SV`V4#)z?send() called, but response already received. Not sending data.TN)r1r3rVrWr.rU)rrGr4s&&�rrU�AWSConnection.send�sJ����"�"�"��$�$�$����(��!%�D����w�|�C� � rc��VPR^4p\V4^8�;'d-V^,PR4;'d
V^,R8H#)Nrhs100)rkrnro)rrtrus&& rrl�%AWSConnection._is_100_continue_status�sX��!�'�'��a�0��
��J�!�O�
#�
#��a��#�#�H�-�
#�
#��a��F�"�	
r)r2r0r1r3r/�NNr)r"r#r$r%�__doc__rr7r<rOr^rdr\rmrUrlr&r'�
__classcell__)r4r)s@@rr+r+5sC����
�"�:���$$�L
$�*�X$�!�
�
rr+c��]tRt^�tRtRtR#)�AWSHTTPConnectionz6An HTTPConnection that supports 100 Continue behavior.�N�r"r#r$r%r~r&r�rrr�r��s��@rr�c��]tRt^�tRtRtR#)�AWSHTTPSConnectionz7An HTTPSConnection that supports 100 Continue behavior.r�Nr�r�rrr�r��s��Arr�c��]tRt^�t]tRtR#)�AWSHTTPConnectionPoolr�N)r"r#r$r%r��
ConnectionClsr&r�rrr�r��s��%�Mrr�c��]tRt^�t]tRtR#)�AWSHTTPSConnectionPoolr�N)r"r#r$r%r�r�r&r�rrr�r��s��&�Mrr�c�J�TpVeVR,pW5R&VPR4p\WR,V4pVR,'dJ\PPpV!VR,4p	RV9dVRV	2,
pMVRV	2,
pWtR	&W$R
&Vf/VR
&R#R#)a
This method prepares a request dict to be created into an
AWSRequestObject. This prepares the request dict by adding the
url and the user agent to the request dict.

:type request_dict: dict
:param request_dict:  The request dict (created from the
    ``serialize`` module).

:type user_agent: string
:param user_agent: The user agent to use for this request.

:type endpoint_url: string
:param endpoint_url: The full endpoint url, which contains at least
    the scheme, the hostname, and optionally any path components.
Nr@z
User-Agent�host_prefix�url_path�query_string�?�&r>�context)r;�_urljoin�botocore�utils�percent_encode_sequence)
�request_dict�endpoint_urlr��
user_agent�rr@r�r>r��encoded_query_strings
&&&&      r�prepare_request_dictr��s���&	�A����I�,�� *����%�%�
�&�K�
�<�:���
<�C�����#+�.�.�"H�"H��6�q��7H�I���c�>��Q�+�,�-�-�C��Q�+�,�-�-�C��e�H��i�L�����)��rc	��Tp\VR,VR,VR,VR,VPR4R7pVR,VnV#)a+
This method takes a request dict and creates an AWSRequest object
from it.

:type request_dict: dict
:param request_dict:  The request dict (created from the
    ``prepare_request_dict`` method).

:rtype: ``botocore.awsrequest.AWSRequest``
:return: An AWSRequest object based on the request_dict.

r=r>r?r@�	auth_path)r=r>�datar@r�r�)�
AWSRequestr;r�)r�r��request_objects&  r�create_request_objectr�$sO��	�A����{�
�e�H�
�v�Y��)���%�%��$��N��y�\�N���rc��\V4pV'dVR8XdV^,'gRpMcV^,pMYV^,PR4'd,VPR4'dV^,RRV,pMV^,V,pV^,pVe	W%,p\V^,WTV^,V^,34pV#)�/N���)r
�endswithror)r�r�r��p�new_path�
new_netloc�
reconstructeds&&&    rr�r�=s������A��x�3����t�t��H���t�H�	
�1����s�	�	�� 3� 3�C� 8� 8��Q�4���9�x�'���Q�4�(�?���1��J��� �-�
���!��j�A�a�D�!�A�$�G�H�M��rc�La�]tRtRtoRtRtRtRRltRtRt	R	t
R
tVtR#)�AWSRequestPrepareriYa�
This class performs preparation on AWSRequest objects similar to that of
the PreparedRequest class does in the requests library. However, the logic
has been boiled down to meet the specific use cases in botocore. Of note
there are the following differences:
    This class does not heavily prepare the URL. Requests performed many
    validations and corrections to ensure the URL is properly formatted.
    Botocore either performs these validations elsewhere or otherwise
    consistently provides well formatted URLs.

    This class does not heavily prepare the body. Body preperation is
    simple and supports only the cases that we document: bytes and
    file-like objects to determine the content-length. This will also
    additionally prepare a body that is a dict to be url encoded params
    string as some signers rely on this. Finally, this class does not
    support multipart file uploads.

    This class does not prepare the method, auth or cookies.
c��VPpVPV4pVPV4pVPW4pVPp\W#WTV4#r)r=�_prepare_url�
_prepare_body�_prepare_headers�
stream_output�AWSPreparedRequest)r�originalr=r>r?r@r�s&&     r�prepare�AWSRequestPreparer.preparensU����������)���!�!�(�+���'�'��7�� �.�.�
�!�&�w�m�L�Lrc�b�VPpVP'd�\V4pVP'dRMRp\	VP\
4'd%\
VPP44pMVPp\VRR7pVPW&34pV#)r�r�T��doseq)
r>�paramsr�queryrFr�list�itemsrrJ)rr�r>�	url_parts�delim�params_to_encoder�s&&     rr��AWSRequestPreparer._prepare_urlws����l�l���?�?�?� ��
�I�$�?�?�?�C��E��(�/�/�7�3�3�#'����(=�(=�(?�#@� �#+�?�?� ��/�t�<�F��*�*�c�]�+�C��
rNc�$�\VPP44pRV9gRV9dV#VPR9dLVP	V4pVe\V4VR&V#\
V4p\PRV4RVR&V#)zTransfer-EncodingzContent-Lengthz Failed to determine length of %s�chunked)�GET�HEAD�OPTIONS)	�HeadersDictr@r�r=�_determine_content_lengthrG�typerVrW)rr��
prepared_bodyr@�length�	body_types&&&   rr��#AWSRequestPreparer._prepare_headers�s����h�.�.�4�4�6�7���'�)�-=��-H��N��?�?�"<�<��3�3�M�B�F��!�,/��K��(�)���	!��/�	����?��K�/8��+�,��rc��Vwr#\V\4'dVPR4p\V\4'dVPR4pW#3#�rD)rFrGrI)r�item�key�values&&  r�_to_utf8�AWSRequestPreparer._to_utf8�sG���
���c�3����*�*�W�%�C��e�S�!�!��L�L��)�E��z�rc���VPpVR8XdRp\V\4'd;VP4Uu.uFq0P	V4NK	pp\VRR7pV#uupi)z"Prepares the given HTTP body data.rNTr�)r�rF�dictr�r�r)rr�r?r�r�s&&   rr�� AWSRequestPreparer._prepare_body�s\���}�}���3�;��D��d�D�!�!�6:�j�j�l�C�l�d�m�m�D�)�l�F�C��V�4�0�D����Ds�A(c�@�\PPV4#r)r�r��determine_content_length�rr?s&&rr��,AWSRequestPreparer._determine_content_length�s���~�~�6�6�t�<�<rr�r)
r"r#r$r%r~r�r�r�r�r�r�r&r'r(s@rr�r�Ys.�����(M���*�
�=�=rr�c�Ha�]tRtRtoRt]tRRltRt]	R4t
RtVtR#)	r�i�z�Represents the elements of an HTTP request.

This class was originally inspired by requests.models.Request, but has been
boiled down to meet the specific use cases in botocore. That being said this
class (even in requests) is effectively a named-tuple.
Nc�
�VP4VnVf/MTpWnW n\	4VnW@nWPnW`nWpn	Ve(VP4Fwr�W�P
V&K	/VnR#r)�_REQUEST_PREPARER_CLS�_request_preparerr=r>rr@r�r�r�r�r�r�)
rr=r>r@r�r�r�r�r�r�s
&&&&&&&&  rr�AWSRequest.__init__�sw��"&�!;�!;�!=����~��6������"�}����	���"��*����%�m�m�o�
��$)���S�!�.���rc�8�VPPV4#)z>Constructs a :class:`AWSPreparedRequest <AWSPreparedRequest>`.)r�r��rs&rr��AWSRequest.prepare�s���%�%�-�-�d�3�3rc��VP4Pp\V\4'dVP	R4pV#r�)r�r?rFrGrIr�s& rr?�AWSRequest.body�s3���|�|�~�"�"���d�C� � ��;�;�w�'�D��r)	r�r�r�r�r@r=r�r�r>)NNNNNNF)
r"r#r$r%r~r�r�rr��propertyr?r&r'r(s@rr�r��s1�����/��"�H4����rr�c�6a�]tRtRtoRtRtRtRtRtVt	R#)r�i�a{A data class representing a finalized request to be sent over the wire.

Requests at this stage should be treated as final, and the properties of
the request should not be modified.

:ivar method: The HTTP Method
:ivar url: The full url
:ivar headers: The HTTP headers to send.
:ivar body: The HTTP body.
:ivar stream_output: If the response for this request should be streamed.
c�B�WnW nW0nW@nWPnR#r)r=r>r@r?r�)rr=r>r@r?r�s&&&&&&rr�AWSPreparedRequest.__init__�s���������	�*�rc�n�RpWPVPVPVP3,#)zD<AWSPreparedRequest stream_output=%s, method=%s, url=%s, headers=%s>)r�r=r>r@)r�fmts& r�__repr__�AWSPreparedRequest.__repr__�s2��
�	��(�(�$�+�+�t�x�x����N�N�Nrc�v�\\\3pVPe\	VPV4'dR#\
P
RVP4VPP^4R# \d2p\
P
RT4\TPR7hRp?ii;i)aResets the streaming body to it's initial position.

If the request contains a streaming body (a streamable file-like object)
seek to the object's initial position to ensure the entire contents of
the object is sent. This is a no-op for static bytes-like body types.
NzRewinding stream: %szUnable to rewind stream: %s)�
stream_object)
rTrG�	bytearrayr?rFrVrW�seek�	Exceptionr)r�non_seekable_types�es&  r�reset_stream�AWSPreparedRequest.reset_streams���$�S�)�4���9�9��
�4�9�9�6H� I� I��	A��L�L�/����;��I�I�N�N�1����	A��L�L�6��:�'�d�i�i�@�@��	A�s�;A<�<B8�,B3�3B8)r?r@r=r�r>N)
r"r#r$r%r~rr�r�r&r'r(s@rr�r��s!����
�+�O�A�Arr�c�Ja�]tRtRtoRtRt]R4t]R4tRt	Vt
R#)�AWSResponseia�A data class representing an HTTP response.

This class was originally inspired by requests.models.Response, but has
been boiled down to meet the specific use cases in botocore. This has
effectively been reduced to a named tuple.

:ivar url: The full url.
:ivar status_code: The status code of the HTTP response.
:ivar headers: The HTTP headers received.
:ivar body: The HTTP response body.
c�X�WnW n\V4VnW@nRVnR#r)r>�status_coder�r@�raw�_content)rr>r�r@r�s&&&&&rr�AWSResponse.__init__+s%����&��"�7�+�������
rc��VPf9RPVPP44;'gRVnVP#)z!Content of the response as bytes.r)r�rJr��streamr�s&r�content�AWSResponse.content3s=���=�=� �
 �H�H�T�X�X�_�_�%6�7�>�>�3�D�M��}�}�rc���\PPVP4pV'dVPPV4#VPPR4#)z�Content of the response as a proper text type.

Uses the encoding type provided in the reponse headers to decode the
response content into a proper text type. If the encoding is not
present in the headers, UTF-8 is used as a default.
rD)r�r��get_encoding_from_headersr@r�rp)r�encodings& r�text�AWSResponse.text@sI���>�>�;�;�D�L�L�I����<�<�&�&�x�0�0��<�<�&�&�w�/�/r)r�r@r�r�r>N)r"r#r$r%r~rr�r�rr&r'r(s@rr�r�s7����
���
��
��0��0rr�c�>a�]tRtRtoRtRtRtRtRtRt	Vt
R#)	�
_HeaderKeyiOc�<�WnVP4VnR#r)�_key�lower�_lower�rr�s&&rr�_HeaderKey.__init__Ps���	��i�i�k��rc�,�\VP4#r)�hashr
r�s&r�__hash__�_HeaderKey.__hash__Ts���D�K�K� � rc�d�\V\4;'dVPVP8H#r)rFrr
)r�others&&r�__eq__�_HeaderKey.__eq__Ws$���%��,�L�L�������1L�Lrc��VP#r)rr�s&r�__str__�_HeaderKey.__str__Zs���y�y�rc�,�\VP4#r)�reprrr�s&rr��_HeaderKey.__repr__]s���D�I�I��r)rr
N)r"r#r$r%rrrrr�r&r'r(s@rrrOs$����"�!�M���rrc�Ta�]tRtRtoRtRtRtRtRtRt	Rt
R	tR
tRt
VtR#)
r�iaz9A case-insenseitive dictionary to represent HTTP headers.c�8�/VnVP!V/VBR#r)�_dict�updaters&*,rr�HeadersDict.__init__ds����
����T�$�V�$rc�4�W P\V4&R#r�rr)rr�r�s&&&r�__setitem__�HeadersDict.__setitem__hs��&+�
�
�:�c�?�#rc�:�VP\V4,#rr!rs&&r�__getitem__�HeadersDict.__getitem__ks���z�z�*�S�/�*�*rc�2�VP\V4R#rr!rs&&r�__delitem__�HeadersDict.__delitem__ns���J�J�z�#��'rc�(�RVP4#)c3�8"�TFp\V4x�K	R#5ir)rG)�.0r�s& r�	<genexpr>�'HeadersDict.__iter__.<locals>.<genexpr>rs���/�J�S��C���J�s��rr�s&r�__iter__�HeadersDict.__iter__qs��/�D�J�J�/�/rc�,�\VP4#r)rnrr�s&r�__len__�HeadersDict.__len__ts���4�:�:��rc�,�\VP4#r)rrr�s&rr��HeadersDict.__repr__ws���D�J�J��rc�4�\VP44#r)r�r�r�s&r�copy�HeadersDict.copyzs���4�:�:�<�(�(rr/N)r"r#r$r%r~rr"r%r(r0r3r�r8r&r'r(s@rr�r�as5����C�%�,�+�(�0�� �)�)rr�r})*rr�logging�collections.abcr�urllib3.utilrX�urllib3.connectionrr�urllib3.connectionpoolrr�botocore.utilsr��botocore.compatrr	r
rrr
r�botocore.exceptionsr�	getLoggerr"rVrr+r�r�r�r�r�r�r�r�r�r�r�rr�r�rr�<module>rCs�����#��F�J�����6�	�	�	�8�	$��
3�l�
3� s
�s
�lA�
�~�A�B��(?�B�&�.�&�'�0�'�&�R�2�8U=�U=�p7�7�t0A�0A�f.0�.0�b��$)�.�)r

Youez - 2016 - github.com/yon3zu
LinuXploit