ó
÷đLKc           @   s4   d  Z  d d l Td d l Td e f d     YZ d S(   s)   
Contains classes for transport options.
i˙˙˙˙(   t   *t   Optionsc           B   s   e  Z d  Z d   Z RS(   s>  
    Options:
        - B{proxy} - An http proxy to be specified on requests.
             The proxy is defined as {protocol:proxy,}
                - type: I{dict}
                - default: {}
        - B{timeout} - Set the url open timeout (seconds).
                - type: I{float}
                - default: 90
        - B{headers} - Extra HTTP headers.
                - type: I{dict}
                    - I{str} B{http} - The I{http} protocol proxy URL.
                    - I{str} B{https} - The I{https} protocol proxy URL.
                - default: {}
        - B{username} - The username used for http authentication.
                - type: I{str}
                - default: None
        - B{password} - The password used for http authentication.
                - type: I{str}
                - default: None
    c         K   sw   t  } t d t i   t d t t f d  t d t i   t d t d   t d t d   g } t j |  | | |  d  S(   Nt   proxyt   timeoutiZ   t   headerst   usernamet   password(	   t   __name__t
   Definitiont   dictt   intt   floatt
   basestringt   Nonet   Skint   __init__(   t   selft   kwargst   domaint   definitions(    (    sP   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/suds/transport/options.pyR   0   s    (   R   t
   __module__t   __doc__R   (    (    (    sP   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/suds/transport/options.pyR      s   N(   R   t   suds.transportt   suds.propertiesR   R   (    (    (    sP   /opt/xtal/ccp4-6.5-linux32/lib/python2.7/site-packages/suds/transport/options.pyt   <module>   s   

