Feed a body chunk directly (called by parser callback).
(self, chunk)
| 185 | self._waiter = None |
| 186 | |
| 187 | def feed(self, chunk): |
| 188 | """Feed a body chunk directly (called by parser callback).""" |
| 189 | if chunk: |
| 190 | self._chunks.append(chunk) |
| 191 | self._wake_waiter() |
| 192 | |
| 193 | def set_complete(self): |
| 194 | """Mark body as complete (called when message ends).""" |