File: //lib/python2.7/site-packages/requests_toolbelt/auth/http_proxy_digest.pyo
ó
Óµ Yc @ 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( ( sL /usr/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( ( sL /usr/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 ( ( sL /usr/lib/python2.7/site-packages/requests_toolbelt/auth/http_proxy_digest.pyR "