~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_http.py

  • Committer: Jared Bunting
  • Date: 2010-10-21 14:04:00 UTC
  • mfrom: (5511 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5514.
  • Revision ID: jbunting@venom-20101021140400-jssfmkw4mumz5gkv
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
961
961
                return
962
962
            self.send_range_content(file, start, end - start + 1)
963
963
            cur += 1
964
 
        # No final boundary
 
964
        # Final boundary
965
965
        self.wfile.write(boundary_line)
966
966
 
967
967
 
996
996
        # that mode
997
997
        self.assertEqual('single', t._range_hint)
998
998
 
 
999
 
999
1000
class LimitedRangeRequestHandler(http_server.TestingHTTPRequestHandler):
1000
1001
    """Errors out when range specifiers exceed the limit"""
1001
1002