Your IP : 216.73.216.196
�
��Wc @ sU d Z d d l Z d d l m Z m Z d d l m Z d e j f d � � YZ d S( s* The module containing HTTPProxyDigestAuth.i����N( t cookiest utilsi ( t _digest_auth_compatt HTTPProxyDigestAuthc B sk e Z d Z e j d d e j �Z d � Z e d � � Z e j
d � � Z d � Z d � Z d � Z
RS( sO HTTP digest authentication between proxy
:param stale_rejects: The number of rejects indicate that:
the client may wish to simply retry the request
with a new encrypted response, without reprompting the user for a
new username and password. i.e., retry build_digest_header
:type stale_rejects: int
s digest t flagsc O s0 t t | � j | | � d | _ | j � d S( Ni ( t superR t __init__t
stale_rejectst init_per_thread_state( t selft argst kwargs( ( sY /opt/alt/python27/lib/python2.7/site-packages/requests_toolbelt/auth/http_proxy_digest.pyR s c C s, t | d d � } | d k r% | j S| j S( Nt
_thread_local( t getattrt Nonet _stale_rejectsR ( R t thread_local( ( sY /opt/alt/python27/lib/python2.7/site-packages/requests_toolbelt/auth/http_proxy_digest.pyR s c C s7 t | d d � } | d k r* | | _ n | | _ d S( NR ( R
R R R ( R t valueR ( ( sY /opt/alt/python27/lib/python2.7/site-packages/requests_toolbelt/auth/http_proxy_digest.pyR "