/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: Aaron Bentley
  • Date: 2007-03-03 17:17:53 UTC
  • mfrom: (2309 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2316.
  • Revision ID: aaron.bentley@utoronto.ca-20070303171753-o0s1yrxx5sn12p2k
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:
 
283
        # We don't know which, but one of the ranges we specified
 
284
        # was wrong. So we raise with 0 for a lack of a better
 
285
        # magic value.
 
286
        raise errors.InvalidRange(url,0)
282
287
 
283
288
    # TODO: jam 20060713 Properly handle redirects (302 Found, etc)
284
289
    #       The '_get' code says to follow redirects, we probably