~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-04-26 10:41:48 UTC
  • mfrom: (2420.1.22 bzr.http.auth)
  • Revision ID: pqm@pqm.ubuntu.com-20070426104148-4l5wq2zemlzv0shg
http authentication and other integrated fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
            self._query, self._fragment) = urlparse.urlparse(self.base)
144
144
        self._qualified_proto = apparent_proto
145
145
        # range hint is handled dynamically throughout the life
146
 
        # of the object. We start by trying multi-range requests
147
 
        # and if the server returns bougs results, we retry with
148
 
        # single range requests and, finally, we forget about
149
 
        # range if the server really can't understand. Once
150
 
        # aquired, this piece of info is propogated to clones.
 
146
        # of the transport object. We start by trying multi-range
 
147
        # requests and if the server returns bogus results, we
 
148
        # retry with single range requests and, finally, we
 
149
        # forget about range if the server really can't
 
150
        # understand. Once acquired, this piece of info is
 
151
        # propagated to clones.
151
152
        if from_transport is not None:
152
153
            self._range_hint = from_transport._range_hint
153
154
        else: