~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 3111.1.15.

  • Committer: Vincent Ladeuil
  • Date: 2007-12-21 09:43:22 UTC
  • mto: (3146.3.1 179368) (3156.2.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 3158.
  • Revision ID: v.ladeuil+lp@free.fr-20071221094322-pgf4q5wla2mjs3gp
Provide a way to specify the protocol version at the server layer.

* bzrlib/tests/http_server.py:
(TestingHTTPRequestHandler): Take the test case server protocol
version if provided to override the local protocol version.
(HttpServer): Add a optional protol_version parameter.
(HttpServer.__init__): If provided, our protocol version takes
precedence over the request handler one.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: