Rev 2184: Make test HTTP server's range handling more spec-compliant (Vincent Ladeuil) in /home/pqm/archives/thelove/bzr/+trunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Wed Dec 13 19:15:35 GMT 2006


------------------------------------------------------------
revno: 2184
revision-id: pqm at pqm.ubuntu.com-20061213191534-c948e178bdeb5d36
parent: pqm at pqm.ubuntu.com-20061213162352-0de9ae3d8d38f95d
parent: abentley at panoramicfeedback.com-20061213172118-pscayc7d4sbvo5uf
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2006-12-13 19:15:34 +0000
message:
  Make test HTTP server's range handling more spec-compliant (Vincent Ladeuil)
modified:
  bzrlib/tests/HttpServer.py     httpserver.py-20061012142527-m1yxdj1xazsf8d7s-1
  bzrlib/tests/test_http.py      testhttp.py-20051018020158-b2eef6e867c514d9
    ------------------------------------------------------------
    merged: abentley at panoramicfeedback.com-20061213172118-pscayc7d4sbvo5uf
    parent: pqm at pqm.ubuntu.com-20061213162352-0de9ae3d8d38f95d
    parent: v.ladeuil+lp at free.fr-20061213162949-xd0gmdi5uj73l8ya
    committer: Aaron Bentley <abentley at panoramicfeedback.com>
    branch nick: Aaron's integration
    timestamp: Wed 2006-12-13 12:21:18 -0500
    message:
      Make test HTTP server's range handling more spec-compliant (Vincent Ladeuil)
    ------------------------------------------------------------
    merged: v.ladeuil+lp at free.fr-20061213162949-xd0gmdi5uj73l8ya
    parent: v.ladeuil+lp at free.fr-20061213122742-ggox22rvx8auzcdo
    committer: v.ladeuil+lp at free.fr
    branch nick: bzr.73948
    timestamp: Wed 2006-12-13 17:29:49 +0100
    message:
      Thanks again to Aaron, the http server RFC2616 compliance
      continue to progress.
      
      * bzrlib/tests/test_http.py:
      (TestRanges, TestRanges_urllib, TestRanges_pycurl): New tests
      classes for the Range header.
      
      * bzrlib/tests/HttpServer.py:
      (TestingHTTPRequestHandler.parse_ranges): RFC2616 says that
      'start > end' is a syntax error for a range specifier.
      (TestingHTTPRequestHandler.do_GET.check_range): Update
      self._satisfiable_ranges, satisfiable_ranges is a free variable.
    ------------------------------------------------------------
    merged: v.ladeuil+lp at free.fr-20061213122742-ggox22rvx8auzcdo
    parent: pqm at pqm.ubuntu.com-20061213093630-54b3c40eb877cfd0
    committer: v.ladeuil+lp at free.fr
    branch nick: bzr.73948
    timestamp: Wed 2006-12-13 13:27:42 +0100
    message:
      Aaron was right. Thanks to him, the http server RFC2616 compliance
      progress.
      
      * bzrlib/tests/HttpServer.py:
      (TestingHTTPRequestHandler.parse_ranges): Ignore Range header if
      it is syntactically invalid.
      (TestingHTTPRequestHandler.do_GET): Better explain why we return a
      416 error if ranges are not satisfiable (semantically invalid).



More information about the bazaar-commits mailing list