Skip to content

Commit

Permalink
Merge pull request sanic-org#870 from MichaelYusko/small-amendment
Browse files Browse the repository at this point in the history
Did the small changes for better readable
  • Loading branch information
r0fls authored Aug 4, 2017
2 parents 8b24c35 + 7216bf7 commit 7b66a56
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sanic/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ def cookies(self):

class StreamingHTTPResponse(BaseHTTPResponse):
__slots__ = (
'transport', 'streaming_fn',
'status', 'content_type', 'headers', '_cookies')
'transport', 'streaming_fn', 'status',
'content_type', 'headers', '_cookies'
)

def __init__(self, streaming_fn, status=200, headers=None,
content_type='text/plain'):
Expand Down

0 comments on commit 7b66a56

Please sign in to comment.