~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/request.py

merge with bzr.dev and put the NEWS entry in the IN DEVELOPMENT section

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
        
105
105
        Must return a SmartServerResponse.
106
106
        """
107
 
        raise NotImplementedError(self.do_body)
 
107
        if body_bytes != '':
 
108
            raise errors.SmartProtocolError('Request does not expect a body')
108
109
 
109
110
    def do_chunk(self, chunk_bytes):
110
111
        """Called with each body chunk if the request has a streamed body.