OwlCyberSecurity - MANAGER
Edit File: response.cpython-313.opt-1.pyc
� ����u�h9 ����������������������������S�r�SSKr/�SQr�"�S�S\R������������������5������r�"�S�S\5������r�"�S�S \5������r�"�S �S\5������rg)a��Response classes used by urllib. The base class, addbase, defines a minimal file-like interface, including read() and readline(). The typical response object is an addinfourl instance, which defines an info() method that returns headers and a geturl() method that returns the url. �����N)�addbase�addclosehook�addinfo� addinfourlc��������������������>���^���\�rS�rSrSrU�4S�jrS�rS�rS�rSr U�=r $�)r�������zOBase class for addinfo and addclosehook. Is a good idea for garbage collection.c������������������8���>��[���������[��������U�]��USSS9 �Xl��������g�)Nz<urllib response>F)�delete)�superr����__init__�fp)�selfr ���� __class__s��� ��6/opt/alt/python313/lib64/python3.13/urllib/response.pyr����addbase.__init__���s������� �g��&�r�+>�u�&�M�������c������������������n�����SU�R�������������������R������������������<�S[��������U�5������<�SU�R������������������<�S3$�)N�<z at z whose fp = �>)r����__name__�id�file�r���s��� r����__repr__�addbase.__repr__���s(������-1�^�^�-D�-D�-/��X�t�y�y�B�� Br���c������������������R�����U�R�������������������R������������������(�������a��[��������S5������eU�$�)NzI/O operation on closed file)r ����closed� ValueErrorr���s��� r���� __enter__�addbase.__enter__���s�������7�7�>�>��;�<�<��r���c������������������$�����U�R������������������5������� �g��N)�close)r����type�value� tracebacks��� r����__exit__�addbase.__exit__!���s������� � �r���)r ���)r���� __module__�__qualname__�__firstlineno__�__doc__r���r���r���r'����__static_attributes__� __classcell__�r���s���@r���r���r������s �������Y�� B�� ��r���r���c��������������������8���^���\�rS�rSrSrU�4S�jrU�4S�jrSrU�=r$�)r����%���z*Class to add a close hook to an open file.c������������������D���>��[���������[��������U�]��U5������ �X l��������X0l��������g�r"���)r���r���r���� closehook�hookargs)r���r ���r3���r4���r���s��� �r���r����addclosehook.__init__(���s������� �l�D�*�2�.�"�� � r���c���������������������>���U�R�������������������nU�R������������������nU(�������a��S�U�l���������S�U�l��������U"�U6� �[��������[��������U�]��5������� �g�!�[��������[��������U�]��5������� �f�=�fr"���)r3���r4���r���r���r#���)r���r3���r4���r���s��� �r���r#����addclosehook.close-���sN������� .����I��}�}�H��!%��� $�� ��8�$��,��+�-��E�,��+�-�s����2A��A)r3���r4���) r���r)���r*���r+���r,���r���r#���r-���r.���r/���s���@r���r���r���%���s�������4�!� .�� .r���r���c��������������������2���^���\�rS�rSrSrU�4S�jrS�rSrU�=r$�)r����9���z.class to add an info() method to an open file.c������������������8���>��[���������[��������U�]��U5������ �X l��������g�r"���)r���r���r����headers)r���r ���r;���r���s��� �r���r����addinfo.__init__<���s������� �g�t�%�b�)��r���c�����������������������U�R�������������������$�r"����r;���r���s��� r����info�addinfo.info@���s�������|�|�r���r>���) r���r)���r*���r+���r,���r���r?���r-���r.���r/���s���@r���r���r���9���s�������8����r���r���c��������������������L���^���\�rS�rSrSrSU�4S�jjr\S�5�������rS�rS�r Sr U�=r$�) r����D���z9class to add info() and geturl() methods to an open file.c������������������D���>��[���������[��������U�]��X5������ �X0l��������X@l��������g�r"���)r���r���r����url�code)r���r ���r;���rD���rE���r���s��� �r���r����addinfourl.__init__G���s������� �j�$�(��5���� r���c�����������������������U�R�������������������$�r"����rE���r���s��� r����status�addinfourl.statusL���s�������y�y�r���c�����������������������U�R�������������������$�r"���rH���r���s��� r����getcode�addinfourl.getcodeP���s�������y�y�r���c�����������������������U�R�������������������$�r"���)rD���r���s��� r����geturl�addinfourl.geturlS���s�������x�x�r���)rE���rD���r"���)r���r)���r*���r+���r,���r����propertyrI���rL���rO���r-���r.���r/���s���@r���r���r���D���s.�������C�� ���������r���r���)r,����tempfile�__all__�_TemporaryFileWrapperr���r���r���r�����r���r����<module>rV������sJ�������� >���h�,�,���..�7��.�(�g������r���