~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/_pycurl.py

  • Committer: Vincent Ladeuil
  • Date: 2007-11-04 15:29:17 UTC
  • mfrom: (2961 +trunk)
  • mto: (2961.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 2962.
  • Revision ID: v.ladeuil+lp@free.fr-20071104152917-nrsumxpk3dikso2c
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
                           ConnectionError,
45
45
                           DependencyNotPresent)
46
46
from bzrlib.trace import mutter
47
 
from bzrlib.transport import register_urlparse_netloc_protocol
48
47
from bzrlib.transport.http import (
49
48
    ca_bundle,
50
49
    _extract_headers,
96
95
CURLE_PARTIAL_FILE = _get_pycurl_errcode('E_PARTIAL_FILE', 18)
97
96
 
98
97
 
99
 
register_urlparse_netloc_protocol('http+pycurl')
100
 
 
101
 
 
102
98
class PyCurlTransport(HttpTransportBase):
103
99
    """http client transport using pycurl
104
100
 
316
312
            redirected_to = headers['Location']
317
313
            raise errors.RedirectRequested(url,
318
314
                                           redirected_to,
319
 
                                           is_permament=(code == 301),
 
315
                                           is_permanent=(code == 301),
320
316
                                           qual_proto=self._scheme)
321
317
 
322
318