-=[ Mr. Bumblebee ]=-
_Indonesia_
ó
#Rc @@ s™ d Z d d l m Z d d l Z d d l Z d d l m Z d d l Z d d l m Z m
Z
d e f d „ ƒ YZ d e f d „ ƒ YZ
d
„ Z d S( s» Handlers for HTTP Responses.
The purpose of these classes is to provide a uniform interface for clients
to standard HTTP responses, single range responses and multipart range
responses.
i ( t absolute_importN( t StringIO( t errorst osutilst ResponseFilec B@ sV e Z d Z d „ Z d „ Z d d „ Z d „ Z d „ Z d „ Z e j
d „ Z RS( sƒ A wrapper around the http socket containing the result of a GET request.
Only read() and seek() (forward) are supported.
c C@ s | | _ | | _ d | _ d S( s„ Constructor.
:param path: File url, for error reports.
:param infile: File-like socket set at body start.
i N( t _patht _filet _pos( t selft patht infile( ( sB /usr/lib/python2.7/dist-packages/bzrlib/transport/http/response.pyt __init__+ s c C@ s d S( s\ Close this file.
Dummy implementation for consistency with the 'file' API.
N( ( R ( ( sB /usr/lib/python2.7/dist-packages/bzrlib/transport/http/response.pyt close6 s iÿÿÿÿc C@ s+ | j j | ƒ } | j t | ƒ 7_ | S( s Read size bytes from the current position in the file.
:param size: The number of bytes to read. Leave unspecified or pass
-1 to read to EOF.
( R t readR t len( R t sizet data( ( sB /usr/lib/python2.7/dist-packages/bzrlib/transport/http/response.pyR
<