Skip to content

Commit 9263210

Browse files
bmwantKriechi
andauthored
Update examples/asyncio/wsgi-server.py
Co-authored-by: Thomas Kriechbaumer <[email protected]>
1 parent 64eb811 commit 9263210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/asyncio/wsgi-server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def readlines(self, hint=None):
535535
Called by the WSGI application to read several lines of data.
536536
"""
537537
data = self.read(hint)
538-
lines = data.splitlines(True)
538+
lines = data.splitlines(keepends=True)
539539
return lines
540540

541541
def start_response(self, status, response_headers, exc_info=None):

0 commit comments

Comments
 (0)