~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2929.3.12.

  • Committer: Vincent Ladeuil
  • Date: 2007-11-24 14:57:25 UTC
  • mto: (3928.1.1 bzr.integration)
  • mto: This revision was merged to the branch mainline in revision 3929.
  • Revision ID: v.ladeuil+lp@free.fr-20071124145725-vy1kdhey2jusaj04
Implement an https server passing the same tests than http. Except
for test_readv_with_adjust_for_latency of course (hi robert
;-). There is a nasty bug there already triggered in the #158972
days, but nastier this time.

* bzrlib/transport/http/_urllib2_wrappers.py:
(HTTPSConnection.connect_to_origin): Takes python2.6 ssl
implementation into account if available.

* bzrlib/tests/https_server.py:
(TestingHTTPSServer): Real implementation for https.
(HTTPSServer): Real implementation with test ssl files.

* bzrlib/tests/http_server.py:
(HttpServer.create_httpd): New method allowing daughter classes to
create specific servers.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: