korsygfhrtzangaiide
Elepffwdsff
/
lib64
/
python2.7
/
site-packages
/
mercurial
/
Upload FileeE
HOME
� Hq�Qc @ s� d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d e f d � � YZ d � Z d e j f d � � YZ d e j f d � � YZ e a d Z d e j e j f d � � YZ d S( i����N( t httpclient( t sslutil( t util( t _t httpsendfilec B s e Z d Z d � Z d � Z RS( s� This is a wrapper around the objects returned by python's "open". Its purpose is to send file-like objects via HTTP. It do however not define a __len__ attribute because the length might be more than Py_ssize_t can handle. c O s� | | _ t | | � | _ | j j | _ | j j | _ | j j | _ t j | j j � � j | _ d | _ | j d d | _ d S( Ni i i ( t uit opent _datat seekt closet writet ost fstatt filenot st_sizet lengtht _post _total( t selfR t argst kwargs( ( s>