~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/smart/request.py

Pass body_bytes directly to SmartServerRequest.do_body

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
    def __init__(self, backing_transport):
25
25
        self._backing_transport = backing_transport
26
 
        self._body_bytes = ''  # common
27
 
 
28
 
    def do_body(self):
 
26
 
 
27
    def do(self):
 
28
        raise NotImplementedError(self.do)
 
29
 
 
30
    def do_body(self, body_bytes):
29
31
        raise NotImplementedError(self.do_body)
30
32