/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2007-07-11 23:45:20 UTC
  • mfrom: (2601 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2643.
  • Revision ID: john@arbash-meinel.com-20070711234520-do3h7zw8skbathpz
[merge] bzr.dev 2601

Show diffs side-by-side

added added

removed removed

Lines of Context:
279
279
        return data
280
280
    elif code == 404:
281
281
        raise errors.NoSuchFile(url)
282
 
    elif code == 416:
 
282
    # Some servers will retun "400: Bad Request" when too much ranges are
 
283
    # specified
 
284
    elif code in (400, 416):
283
285
        # We don't know which, but one of the ranges we specified
284
286
        # was wrong. So we raise with 0 for a lack of a better
285
287
        # magic value.