+
    ^eòj®'  ã                   óÖ   € R t ^ RIHt ^ RIt^ RIt^ RIt^ RIHtH	t	 ]P                  ! ]4      tRt ! R R]	P                  4      t ! R R]	P                   4      tR t ! R	 R
]4      tR# )zTransport adapter for httplib2.)Úabsolute_importN)Ú
exceptionsÚ	transportc                   óZ   a € ] tR t^t o RtR t]R 4       t]R 4       t]R 4       t	Rt
V tR# )Ú	_ResponsezŽhttplib2 transport response adapter.

Args:
    response (httplib2.Response): The raw httplib2 response.
    data (bytes): The response body.
c                ó   € Wn         W n        R # ©N)Ú	_responseÚ_data)ÚselfÚresponseÚdatas   &&&Ú‹/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/google_auth_httplib2.pyÚ__init__Ú_Response.__init__&   s   € Ø!ŒØŽ
ó    c                ó.   € V P                   P                  # )zint: The HTTP status code.)r	   Ústatus©r   s   &r   r   Ú_Response.status*   s   € ð �~‰~×$Ñ$Ð$r   c                ó,   € \        V P                  4      # )z-Mapping[str, str]: The HTTP response headers.)Údictr	   r   s   &r   ÚheadersÚ_Response.headers/   s   € ô �D—N‘NÓ#Ð#r   c                ó   € V P                   # )zbytes: The response body.)r
   r   s   &r   r   Ú_Response.data4   s   € ð �z‰zÐr   )r
   r	   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   Úpropertyr   r   r   Ú__static_attributes__Ú__classdictcell__©Ú__classdict__s   @r   r   r      sK   ø‡ € ñòð ñ%ó ð%ð ñ$ó ð$ð ñó ör   r   c                   ó4   a € ] tR t^:t o RtR tRR ltRtV tR# )ÚRequestaM  httplib2 request adapter.

This class is used internally for making requests using various transports
in a consistent way. If you use :class:`AuthorizedHttp` you do not need
to construct or use this class directly.

This class can be useful if you want to manually refresh a
:class:`~google.auth.credentials.Credentials` instance::

    import google_auth_httplib2
    import httplib2

    http = httplib2.Http()
    request = google_auth_httplib2.Request(http)

    credentials.refresh(request)

Args:
    http (httplib2.Http): The underlying http object to use to make
        requests.
c                ó   € Wn         R # r   ©Úhttp)r   r*   s   &&r   r   ÚRequest.__init__Q   s   € ØŽ	r   Nc           	     ó\  € Ve   \         P                  R4        \         P                  RW!4       V P                  P                  ! V3RVRVRV/VB w  rx\        Wx4      #   \        P                  \        P                  P                  3 d   p	\        P                  ! T	4      hRp	?	ii ; i)a³  Make an HTTP request using httplib2.

Args:
    url (str): The URI to be requested.
    method (str): The HTTP method to use for the request. Defaults
        to 'GET'.
    body (bytes): The payload / body in HTTP request.
    headers (Mapping[str, str]): Request headers.
    timeout (Optional[int]): The number of seconds to wait for a
        response from the server. This is ignored by httplib2 and will
        issue a warning.
    kwargs: Additional arguments passed throught to the underlying
        :meth:`httplib2.Http.request` method.

Returns:
    google.auth.transport.Response: The HTTP response.

Raises:
    google.auth.exceptions.TransportError: If any exception occurred.
Nzvhttplib2 transport does not support per-request timeout. Set the timeout when constructing the httplib2.Http instance.zMaking request: %s %sÚmethodÚbodyr   )Ú_LOGGERÚwarningÚdebugr*   Úrequestr   Úhttplib2ÚHttpLib2ErrorÚclientÚHTTPExceptionr   ÚTransportError)
r   Úurlr-   r.   r   ÚtimeoutÚkwargsr   r   Úexcs
   &&&&&&,   r   Ú__call__ÚRequest.__call__T   s®   € ð. ÒÜ�O‰OðPôð
		1Ü�M‰MÐ1°6Ô?Ø!ŸY™Y×.Ò.ØñØ"ðØ)-ðØ7>ðØBHñ‰NˆHô ˜XÓ,Ð,øô ×&Ñ&¬¯©×(AÑ(AÐBô 	1Ü×+Ò+¨CÓ0Ð0ûð	1ús   ›AA! Á!/B+ÂB&Â&B+r)   )ÚGETNNN)	r   r   r   r   r    r   r<   r"   r#   r$   s   @r   r'   r'   :   s   ø‡ € ñò,÷&1ò &1r   r'   c                 ó,   € \         P                  ! 4       # )z)Returns a default httplib2.Http instance.)r3   ÚHttp© r   r   Ú_make_default_httprB   }   s   € ä�=Š=‹?Ðr   c                   ód  a € ] tR t^‚t o RtR]P                  ]P                  3R ltR t	RRR]
P                  R3R ltRR lt]R 4       t]P                   R	 4       t]R
 4       t]P                   R 4       t]R 4       t]P                   R 4       t]R 4       t]P                   R 4       tRtV tR# )ÚAuthorizedHttpar  A httplib2 HTTP class with credentials.

This class is used to perform requests to API endpoints that require
authorization::

    from google.auth.transport._httplib2 import AuthorizedHttp

    authed_http = AuthorizedHttp(credentials)

    response = authed_http.request(
        'https://www.googleapis.com/storage/v1/b')

This class implements :meth:`request` in the same way as
:class:`httplib2.Http` and can usually be used just like any other
instance of :class:`httplib2.Http`.

The underlying :meth:`request` implementation handles adding the
credentials' headers to the request and refreshing credentials as needed.
Nc                ó†   € Vf   \        4       pW n        Wn        W0n        W@n        \        V P                  4      V n        R# )a8  
Args:
    credentials (google.auth.credentials.Credentials): The credentials
        to add to the request.
    http (httplib2.Http): The underlying HTTP object to
        use to make requests. If not specified, a
        :class:`httplib2.Http` instance will be constructed.
    refresh_status_codes (Sequence[int]): Which HTTP status codes
        indicate that credentials should be refreshed and the request
        should be retried.
    max_refresh_attempts (int): The maximum number of times to attempt
        to refresh the credentials and retry the request.
N)rB   r*   ÚcredentialsÚ_refresh_status_codesÚ_max_refresh_attemptsr'   Ú_request)r   rF   r*   Úrefresh_status_codesÚmax_refresh_attemptss   &&&&&r   r   ÚAuthorizedHttp.__init__—   s:   € ð* Š<Ü%Ó'ˆDàŒ	Ø&ÔØ%9Ô"Ø%9Ô"ô   §	¡	Ó*ˆŽr   c                ó:   € V P                   P                  4        R# )zCalls httplib2's Http.closeN)r*   Úcloser   s   &r   rN   ÚAuthorizedHttp.close·   s   € à�	‰	�‰Ör   r>   c                ó&  a€ VP                  R^ 4      pVe   VP                  4       M/ p	V P                  P                  V P                  W!V	4       Rp
\
        ;QJ d#    V3R l\         4       F  '       d   K   RM	  RM! V3R l\         4       4      '       d   SP                  4       p
V P                  P                  ! VV3RSRV	RVR	V/VB w  r¼VP                  V P                  9   d£   W€P                  8  d“   \        P                  R
VP                  V^,           V P                  4       V P                  P                  V P                  4       V
e   SP!                  V
4       V P                  ! VV3RSRVRVR	VRV^,           /VB # W¼3# )z*Implementation of httplib2's Http.request.Ú_credential_refresh_attemptNc              3   ó>   <"  € T F  p\        SVR 4      x € K  	  R # 5ir   )Úgetattr)Ú.0Ústream_propr.   s   & €r   Ú	<genexpr>Ú)AuthorizedHttp.request.<locals>.<genexpr>Ò   s   øé € ÐVÑCU°KŒw�t˜[¨$×/Ð/ÓCUùs   ƒFTr.   r   ÚredirectionsÚconnection_typez;Refreshing credentials due to a %s response. Attempt %s/%s.)ÚpopÚcopyrF   Úbefore_requestrI   ÚallÚ_STREAM_PROPERTIESÚtellr*   r2   r   rG   rH   r/   ÚinfoÚrefreshÚseek)r   Úurir-   r.   r   rX   rY   r:   rQ   Úrequest_headersÚbody_stream_positionr   Úcontents   &&&f&&&,     r   r2   ÚAuthorizedHttp.request»   s¬  ø€ ð '-§j¡jÐ1NÐPQÓ&RÐ#ð -4Ò,?˜'Ÿ,™,œ.ÀRˆà×Ñ×'Ñ'¨¯©°vÀOÔTð  $Ðß‹3ÔVÕCUÓV�3�3Š3ÔVÕCUÓV×VÒVØ#'§9¡9£;Ð ð !ŸI™I×-Ò-ØØñ
ð ð
ð $ð	
ð
 &ð
ð ,ð
ð ñ
Ñˆð  �O‰O˜t×9Ñ9Ô9Ø+×.HÑ.HÔHä�L‰LØMØ—‘Ø+¨aÕ/Ø×*Ñ*ô	ð ×Ñ×$Ñ$ T§]¡]Ô3ð $Ò/Ø—	‘	Ð.Ô/ð —<’<ØØñ	ð ð	ð  ð		ð
 *ð	ð !0ð	ð -HÈ!Õ,Kð	ð ñ	ð 	ð Ð Ð r   c                ó@   € V P                   P                  WW4R7       R# )z'Proxy to httplib2.Http.add_certificate.)ÚpasswordN)r*   Úadd_certificate)r   ÚkeyÚcertÚdomainri   s   &&&&&r   rj   ÚAuthorizedHttp.add_certificate  s   € à�	‰	×!Ñ! #¨VÐ!ÖGr   c                ó.   € V P                   P                  # )ú#Proxy to httplib2.Http.connections.©r*   Úconnectionsr   s   &r   rr   ÚAuthorizedHttp.connections  s   € ð �y‰y×$Ñ$Ð$r   c                ó&   € WP                   n        R# )rp   Nrq   ©r   Úvalues   &&r   rr   rs     s   € ð !&�	‰	Ör   c                ó.   € V P                   P                  # )ú(Proxy to httplib2.Http.follow_redirects.©r*   Úfollow_redirectsr   s   &r   rz   ÚAuthorizedHttp.follow_redirects  s   € ð �y‰y×)Ñ)Ð)r   c                ó&   € WP                   n        R# )rx   Nry   ru   s   &&r   rz   r{     s   € ð &+�	‰	Ö"r   c                ó.   € V P                   P                  # )úProxy to httplib2.Http.timeout.©r*   r9   r   s   &r   r9   ÚAuthorizedHttp.timeout  s   € ð �y‰y× Ñ Ð r   c                ó&   € WP                   n        R# )r~   Nr   ru   s   &&r   r9   r€   !  s   € ð "�	‰	Ör   c                ó.   € V P                   P                  # )ú&Proxy to httplib2.Http.redirect_codes.©r*   Úredirect_codesr   s   &r   r…   ÚAuthorizedHttp.redirect_codes&  s   € ð �y‰y×'Ñ'Ð'r   c                ó&   € WP                   n        R# )rƒ   Nr„   ru   s   &&r   r…   r†   +  s   € ð $)�	‰	Ö r   )rH   rG   rI   rF   r*   r   )r   r   r   r   r    r   ÚDEFAULT_REFRESH_STATUS_CODESÚDEFAULT_MAX_REFRESH_ATTEMPTSr   rN   r3   ÚDEFAULT_MAX_REDIRECTSr2   rj   r!   rr   Úsetterrz   r9   r…   r"   r#   r$   s   @r   rD   rD   ‚   s  ø‡ € ñð. Ø&×CÑCØ&×CÑCô+ò@ð ØØØ×3Ñ3ØôG!ôRHð ñ%ó ð%ð ×Ññ&ó ð&ð ñ*ó ð*ð ×Ññ+ó ð+ð ñ!ó ð!ð ‡^�^ñ"ó ð"ð ñ(ó ð(ð ×Ññ)ó ö)r   rD   )Úreadrb   r_   )r    Ú
__future__r   Úhttp.clientr*   Úloggingr3   Úgoogle.authr   r   Ú	getLoggerr   r/   r^   ÚResponser   r'   rB   ÚobjectrD   rA   r   r   Ú<module>r”      si   ðñ &å &ã Û ã ß -à
×
Ò
˜HÓ
%€à-Ð ô�	×"Ñ"ô ô8@1ˆi×Ñô @1òFô
l)�Vö l)r   