~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Robert Collins
  • Date: 2007-06-04 00:51:54 UTC
  • mfrom: (2504 +trunk)
  • mto: (2507.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 2505.
  • Revision ID: robertc@robertcollins.net-20070604005154-yvx2q8jnwiprw6du
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
            # Forget ranges, the server can't handle them
200
200
            return self._get_full(relpath)
201
201
 
202
 
        self._curl_perform(curl, header,
203
 
                           ['Range: bytes=%s'
204
 
                            % self.range_header(ranges, tail_amount)])
 
202
        self._curl_perform(curl, header, ['Range: bytes=%s' % range_header])
205
203
        data.seek(0)
206
204
 
207
205
        code = curl.getinfo(pycurl.HTTP_CODE)