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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 19:09:26 UTC
  • mfrom: (6622.1.36 breezy)
  • Revision ID: jelmer@jelmer.uk-20170521190926-5vtz8xaf0e9ylrpc
Merge rename to breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import urllib2
20
20
 
21
21
 
22
 
from bzrlib import (
 
22
from breezy import (
23
23
    errors,
24
24
    osutils,
25
25
    tests,
26
26
    transport,
27
27
    )
28
 
from bzrlib.smart import (
 
28
from breezy.smart import (
29
29
    medium,
30
30
    )
31
 
from bzrlib.tests import http_server
32
 
from bzrlib.transport import chroot
 
31
from breezy.tests import http_server
 
32
from breezy.transport import chroot
33
33
 
34
34
 
35
35
class HTTPServerWithSmarts(http_server.HttpServer):
46
46
class SmartRequestHandler(http_server.TestingHTTPRequestHandler):
47
47
    """Extend TestingHTTPRequestHandler to support smart client POSTs.
48
48
 
49
 
    XXX: This duplicates a fair bit of the logic in bzrlib.transport.http.wsgi.
 
49
    XXX: This duplicates a fair bit of the logic in breezy.transport.http.wsgi.
50
50
    """
51
51
 
52
52
    def do_POST(self):