133
134
self.request.accept_body(body_data)
134
135
if self._body_decoder.finished_reading:
135
136
self.request.end_of_body()
138
139
if self.request.response is not None:
139
140
self._send_response(self.request.response)
140
141
self.excess_buffer = self.in_buffer
146
148
def _send_response(self, response):
147
149
"""Send a smart server response down the output stream."""