Skip to content

Commit

Permalink
[dummyserver] emit all chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
t-8ch committed Apr 27, 2015
1 parent dfb5d49 commit 42b22ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dummyserver/handlers.py
Expand Up @@ -36,8 +36,8 @@ def __call__(self, request_handler):
for item in self.body:
if not isinstance(item, bytes):
item = item.encode('utf8')
request_handler.write(item)
request_handler.flush()
request_handler.write(item)
request_handler.flush()
else:
body = self.body
if not isinstance(body, bytes):
Expand Down

0 comments on commit 42b22ba

Please sign in to comment.