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__/endpoint.cpython-314.pyc
+
��icA���^RIt^RIt^RIt^RIt^RIt^RIt^RIHt^RIH	t	^RI
Ht^RIH
t
^RIHt^RIHt^RIHt^R	IHt^R
IHt^RIHtHtHt]P8!]4t]!4t^<t ^
t!Rt"!R
R4t#!RR4t$R#)�N)�parsers)�create_request_object)�get_current_datetime)�HTTPClientError)�get_global_history_recorder)�first_non_none_response)�handle_checksum_body)�URLLib3Session)�
StreamingBody)�get_environ_proxies�is_valid_endpoint_url�is_valid_ipv6_endpoint_urlc��RVPRVPRRVP//pVR,R8�dVPVR&V#VP'dVP
VR&V#VP'd4VR,PR4p\VP
V4VR&V#VPVR&V#)a�Convert an HTTP response object to a request dict.

This converts the HTTP response object to a dictionary.

:type http_response: botocore.awsrequest.AWSResponse
:param http_response: The HTTP response from an AWS service request.

:rtype: dict
:return: A response dictionary which will contain the following keys:
    * headers (dict)
    * status_code (int)
    * body (string or file-like object)

�headers�status_code�context�operation_name�,�bodyzcontent-length)	rr�name�content�has_event_stream_output�raw�has_streaming_output�getr)�
http_response�operation_model�
response_dict�lengths&&  �3/usr/lib/python3/dist-packages/botocore/endpoint.py�convert_to_response_dictr!+s��� 	�=�(�(��}�0�0���o�2�2�
��M��]�#�s�*� -� 5� 5�
�f����
�	0�	0�	0� -� 1� 1�
�f����
�	-�	-�	-��y�)�-�-�.>�?�� -�m�.?�.?�� H�
�f����!.� 5� 5�
�f����c�a�]tRt^MtoRtRRltRtRtRtRRlt	Rt
R	tR
tRt
RRltR
tRtRtRtRRltRtRtVtR#)�Endpointa
Represents an endpoint for a particular service in a specific
region.  Only an endpoint can make requests.

:ivar service: The Service object that describes this endpoints
    service.
:ivar host: The fully qualified endpoint hostname.
:ivar session: The session object.
Nc���W nW0nWn\P!4VnVf\P!4pW@nWPn	VPf\4Vn	R#R#�N)�_endpoint_prefix�_event_emitter�host�	threading�Lock�_lockr�ResponseParserFactory�_response_parser_factory�http_sessionr
)�selfr)�endpoint_prefix�
event_emitter�response_parser_factoryr/s&&&&&&r �__init__�Endpoint.__init__Xs`��!0��+���	��^�^�%��
�"�*�&-�&C�&C�&E�#�(?�%�(�����$� .� 0�D��%r"c�:�VPRVPR2#)�(�))r'r)�r0s&r �__repr__�Endpoint.__repr__ks ���'�'�(��$�)�)��A�6�6r"c�:�VPP4R#r&)r/�closer9s&r r=�Endpoint.closens�������!r"c�R�\PRVV4VPW!4#)z%Making request for %s with params: %s)�logger�debug�
_send_request)r0r�request_dicts&&&r �make_request�Endpoint.make_requestqs*�����3���	
�
�!�!�,�@�@r"c�V�\V4pV'd�\VPVP.4VnVP
PP4pRVRVP2pVPPVVVPR7VPV4pV#)zrequest-created.�.)�requestr)r�anyrr�
stream_output�
service_model�
service_id�	hyphenizerr(�emit�prepare_request)r0�paramsrrHrL�
event_name�prepared_requests&&&    r �create_request�Endpoint.create_requestys���'��/���$'�#�8�8�#�;�;��%�G�!�)�6�6�A�A�K�K�M�J�+�J�<�q��9M�9M�8N�O�J����$�$���.�3�3�
%�
�
 �/�/��8���r"c��VP4F0wr#\V\4'gKVPR4W&K2	R#)zutf-8N)�items�
isinstance�str�encode)r0r�key�values&&  r �_encode_headers�Endpoint._encode_headers�s1��!�-�-�/�J�C��%��%�%�$�|�|�G�4���*r"c�X�VPVP4VP4#r&)r\r�prepare�r0rHs&&r rO�Endpoint.prepare_request�s!�����W�_�_�-���� � r"c���\4p\PPVR4pWQ,
pV\P!VR7,V,pVP	R4#)z%a, %d %b %Y %H:%M:%S %Z)�secondsz%Y%m%dT%H%M%SZ)r�datetime�strptime�	timedelta�strftime)r0�response_received_timestamp�date_header�read_timeout�local_timestamp�date_conversion�estimated_skew�ttls&&&&    r �_calculate_ttl�Endpoint._calculate_ttl�sg��/�0��"�+�+�4�4��3�
��)�F���� � ��6�
7��
�	�
�|�|�,�-�-r"c�(�V^,PPR4pVPR4pV'd.V'g$\4pVPVVV4VR&R#R#R# \d\
P
RRR7R#i;i)r�Date�has_streaming_inputrnz9Exception received when updating retries context with TTLT��exc_infoN)rrrro�	Exceptionr@rA)r0�retries_contextrj�success_response�response_date_headerrsrhs&&&&   r �_set_ttl�Endpoint._set_ttl�s���/��2�:�:�>�>�v�F��-�1�1�2G�H���(;�
�.B�.D�+�)-�)<�)<�/�(� �*���&�)<����
����O�!���
�s� A+�+"B�Bc���VPR/4pW$R&RV9d"\\P!44VR&V'd(VR,PpVPWEV4R#R#)�retries�attemptz
invocation-id�
client_configN)�
setdefaultrX�uuid�uuid4rjrz)r0rr~rxrwrjs&&&&  r �_update_retries_context� Endpoint._update_retries_context�s`��!�,�,�Y��;��%,�	�"��/�1�/2�4�:�:�<�/@�O�O�,��"�?�3�@�@�L��M�M�/�9I�J�r"c���^pVR,pVPWC4VPW4pVPWRV4wrgVPVVVVV4'dSV^,
pVPWCV4VP	4VPW4pVPWRV4wrgKmVe+RV^,9dV^,
pVV^,R,R&VeVhV#)�r�ResponseMetadata�
RetryAttempts)r�rS�
_get_response�_needs_retry�reset_stream)	r0rCr�attemptsrrHrx�	exception�
total_retriess	&&&      r rB�Endpoint._send_request�s
�����y�)���$�$�W�7��%�%�l�D��&*�&8�&8��g�'
�#����������
�
�
��M�H��(�(��<L�M�

� � �"��)�)�,�H�G�*.�*<�*<��'�+�'��i�
�(�"�&6�q�&9�9�%�q�L�M��
�Q�� 2�3�O�D�� ��O�#�#r"c��VPWV4wrERRRRRVRV/pVeVwrxW�R&\Wr4VR&VPPP	4p	VP
P!RV	RVP23/VBWE3#)rN�parsed_responserr�zresponse-received.rG)�_do_get_responser!rKrLrMr(rNr)
r0rHrrrxr��kwargs_to_emitrr�rLs
&&&&      r r��Endpoint._get_response�s���'+�&;�&;��g�'
�#��
�T��t��w���	
���'�-=�*�M�0?�,�-�.F��/�N�?�+�%�2�2�=�=�G�G�I�
���� � � ���A�o�.B�.B�-C�D�	
��	
� �*�*r"c
��\PRV4\PRRVPRVP
RVPRVPRVP/4VPPP4pRVRVP2pVPPWQR	7p\V4pVfVP!V4p\'Yr4p	\)TT	TT4T	P+4p
TP,T
R&\PRT
4TPP.p/pTPPRTRTP2TT	TR7TP0P3T4p
T
P5Y�P64pTP9T4TP:R8�dTP=T	TTT
4\PRT4Y~3R
3# \"dpR
T3uR
p?#R
p?i\$d&p\PRRR
7R
T3uR
p?#R
p?ii;i)zSending http request: %s�HTTP_REQUEST�methodr�	streaming�urlrzbefore-send.rG)rHNz-Exception received when sending HTTP request.Trt�
HTTP_RESPONSEz
before-parse.)rr�customized_response_dictr�PARSED_RESPONSE)r@rA�history_recorder�recordr�rrsr�rrKrLrMrr(rNr�_sendrrvr!r	�copyr�resolved_protocolr.�
create_parser�parse�output_shape�updater�_add_modeled_error_fields)r0rHrrrLrQ�	responsesr�er�http_response_record_dict�protocolr��parserr�s&&&&           r r��Endpoint._do_get_responsesF��	��L�L�3�W�=��#�#���g�n�n��w�����!D�!D��7�;�;��G�L�L��	
�)�6�6�A�A�K�K�M�J�'�
�|�1�_�5I�5I�4J�K�J��+�+�0�0��0�M�I�3�I�>�M��$� $�
�
�7� 3�
�1��
�
�	�����		
�%2�$6�$6�$8�!��0�0�	"�+�.�	����1J�K�"�0�0�B�B��#%� ���� � ��J�<�q��)=�)=�(>�?�+�'�%=�		!�	
��.�.�<�<�X�F�� �,�,��7�7�
��	���7�8��$�$��+��*�*�����	
�	��� 1�?�C��/��5�5��e�	��!�9����	��L�L�?�$�
�
��!�9���		�s6�CG8�8H?�H�H?�H?�H?�H:�4H?�:H?c���VPR/4PR4pVfR#VPpVPV4pVfR#VPW4pVP	V4R#)�Error�CodeN)rrK�shape_for_error_coder�r�)	r0rr�rr��
error_coderK�error_shape�
modeled_parses	&&&&&    r r��"Endpoint._add_modeled_error_fieldsLsj��%�(�(��"�5�9�9�&�A�
����'�5�5�
�#�8�8��D��������]�@�
����}�-r"c
�0�VPPP4pRVRVP2pVPPVVVVVVVR7p\
V4p	V	fR#\PRV	4\P!V	4R#)zneeds-retry.rG)�response�endpoint�	operationr��caught_exceptionrCFz3Response received to retry, sleeping for %s secondsT)rKrLrMrr(rNrr@rA�time�sleep)
r0r�rrCr�r�rLrQr��handler_responses
&&&&&&    r r��Endpoint._needs_retry^s���%�2�2�=�=�G�G�I�
�#�J�<�q��1E�1E�0F�G�
��'�'�,�,����%��-�%�-�
�	�3�9�=���#��
�L�L�E� �
�
�J�J�'�(�r"c�8�VPPV4#r&)r/�sendr`s&&r r��Endpoint._send~s��� � �%�%�g�.�.r")r'r(r,r.r)r/)NNr&)�__name__�
__module__�__qualname__�__firstlineno__�__doc__r4r:r=rDrSr\rOrorzr�rBr�r�r�r�r��__static_attributes__�__classdictcell__��
__classdict__s@r r$r$Mse�����1�&7�"�A� �&5�!�
.��"K�'$�R+�8E6�N.�$�@/�/r"r$c	�Na�]tRtRtoRtRR]]]RRRR3	RltRt	Rt
RtVtR#)�EndpointCreatori�c��WnR#r&�r()r0r2s&&r r4�EndpointCreator.__init__�s��+�r"Nc

�@�\V4'g \V4'g\RV24hV	fVPV4p	VPp
\
P
RW�4V!VV	VPV4VV
VVR7p\VV
VPVVR7#)zInvalid endpoint: zSetting %s timeout as %s)�timeout�proxies�verify�max_pool_connections�socket_options�client_cert�proxies_config)r1r2r3r/)
r
r�
ValueError�_get_proxiesr1r@rA�_get_verify_valuer$r()r0rK�region_name�endpoint_urlr�r3r�r��http_session_clsr�r�r�r�r1r/s&&&&&&&&&&&&&  r �create_endpoint�EndpointCreator.create_endpoint�s���%��
�
�,�\�:�:��1�,��@�A�A��?��'�'��5�G�'�7�7�����/��J�'����)�)�&�1�!5�)�#�)�
����+��-�-�$;�%�
�	
r"c��\V4#r&)r)r0r�s&&r r��EndpointCreator._get_proxies�s��#�3�'�'r"c�N�VeV#\PPRR4#)N�REQUESTS_CA_BUNDLET)�os�environr)r0r�s&&r r��!EndpointCreator._get_verify_value�s'�����M��z�z�~�~�2�D�9�9r"r�)
r�r�r�r�r4�DEFAULT_TIMEOUT�MAX_POOL_CONNECTIONSr
r�r�r�r�r�r�s@r r�r��s<����,�� $��1�'�����)
�V(�
:�:r"r�)%rd�loggingr�r*r�r��botocorer�botocore.awsrequestr�botocore.compatr�botocore.exceptionsr�botocore.historyr�botocore.hooksr�botocore.httpchecksumr	�botocore.httpsessionr
�botocore.responser�botocore.utilsrr
r�	getLoggerr�r@r�r�r�r!r$r��r"r �<module>r�s�����	�����5�0�/�8�2�6�/�+���
�	�	�8�	$��.�0�������Dr/�r/�j	?:�?:r"

Youez - 2016 - github.com/yon3zu
LinuXploit