HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/boto/glacier/__pycache__/response.cpython-310.pyc
o

ckF[��@s ddlmZGdd�de�ZdS)�)�jsonc@s"eZdZdZdd�Zddd�ZdS)�GlacierResponsez�
    Represents a response from Glacier layer1. It acts as a dictionary
    containing the combined keys received via JSON in the body (if
    supplied) and headers.
    cCs�||_|j|_|�d�|d<|r|D]\}}|�|�||<q|jdkr9|�d�dkr9t�|���d��}|�|�|�dd�}|durH||_dSdS)Nzx-amzn-requestid�	RequestId��zContent-Typezapplication/jsonzutf-8zContent-Length)	�
http_response�status�	getheaderr�loads�read�decode�update�size)�selfr�response_headers�header_name�	item_name�bodyr
�r�7/usr/lib/python3/dist-packages/boto/glacier/response.py�__init__ s


�zGlacierResponse.__init__NcCs|j�|�S)zAReads and returns the response body, or up to the next amt bytes.)rr
)r�amtrrrr
/szGlacierResponse.read)N)�__name__�
__module__�__qualname__�__doc__rr
rrrrrsrN)�boto.compatr�dictrrrrr�<module>s