We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f06c295 commit 9170219Copy full SHA for 9170219
docker/client.py
@@ -227,7 +227,7 @@ def _stream_helper(self, response):
227
# Because Docker introduced newlines at the end of chunks in v0.9,
228
# and only on some API endpoints, we have to cater for both cases.
229
size_line = socket.readline()
230
- if size_line == '\r\n':
+ if size_line == '\r\n' or size_line == '\n':
231
232
233
size = int(size_line, 16)
0 commit comments