/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/tests/test_http.py

  • Committer: Vincent Ladeuil
  • Date: 2007-12-11 14:26:18 UTC
  • mto: (3111.1.1 175524)
  • mto: This revision was merged to the branch mainline in revision 3158.
  • Revision ID: v.ladeuil+lp@free.fr-20071211142618-pt6ca80047kok237
Rename bzrlib/test/HTTPTestUtils.py to bzrlib/tests/http_utils.py and fix
uses.  Rename bzrlib/test/HttpServer.py to bzrlib/tests/http_server.py
and fix uses.  Don't pretend we support HTTP/0.9 since we don't and do
that correctly.

* bzrlib/transport/http/_urllib2_wrappers.py:
(AbstractHTTPConnection): Specifying strict here is useless.
(HTTPConnection, HTTPSConnection): We don't support HTTP/0.9 in
other parts of the stack, be explicit *correctly*.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    ui,
37
37
    urlutils,
38
38
    )
39
 
from bzrlib.tests.HttpServer import (
 
39
from bzrlib.tests import (
 
40
    TestCase,
 
41
    TestUIFactory,
 
42
    TestSkipped,
 
43
    StringIOWrapper,
 
44
    )
 
45
from bzrlib.tests.http_server import (
40
46
    HttpServer,
41
47
    HttpServer_PyCurl,
42
48
    HttpServer_urllib,
43
49
    )
44
 
from bzrlib.tests.HTTPTestUtil import (
 
50
from bzrlib.tests.http_utils import (
45
51
    BadProtocolRequestHandler,
46
52
    BadStatusRequestHandler,
47
53
    ForbiddenRequestHandler,