/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

Merge bzr.dev

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.