/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/HTTPTestUtil.py

  • Committer: Martin Pool
  • Date: 2007-04-01 06:19:16 UTC
  • mfrom: (2323.5.20 0.15-integration)
  • mto: This revision was merged to the branch mainline in revision 2390.
  • Revision ID: mbp@sourcefrog.net-20070401061916-plpgsxdf8g7gll9o
Merge 0.15 final release back to trunk, including: recommend upgrades of old workingtrees, handle multiple http redirections, some dirstate fixes, 

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    )
29
29
from bzrlib.transport import (
30
30
    get_transport,
 
31
    smart,
31
32
    )
32
 
from bzrlib.smart import protocol
33
33
 
34
34
 
35
35
class WallRequestHandler(TestingHTTPRequestHandler):
130
130
        # we have to stop early due to error, but we would also have to use the
131
131
        # HTTP trailer facility which may not be widely available.
132
132
        out_buffer = StringIO()
133
 
        smart_protocol_request = protocol.SmartServerRequestProtocolOne(
 
133
        smart_protocol_request = smart.SmartServerRequestProtocolOne(
134
134
                transport, out_buffer.write)
135
135
        # if this fails, we should return 400 bad request, but failure is
136
136
        # failure for now - RBC 20060919