X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7f545f1feabcb30fa0ccb3cab3f46392d01f0fea..08fe9bab402a591674993e6cd472570967e92dec:/sdk/python/tests/test_http.py diff --git a/sdk/python/tests/test_http.py b/sdk/python/tests/test_http.py index fa61e9ed8b..296c1c654f 100644 --- a/sdk/python/tests/test_http.py +++ b/sdk/python/tests/test_http.py @@ -60,9 +60,9 @@ class CurlMock: self.perform_was_called = True if self.head: - self.headerfn("HTTP/1.1 {} Status".format(self.head_response)) + self.headerfn("HTTP/1.1 {} Status\r\n".format(self.head_response)) else: - self.headerfn("HTTP/1.1 {} Status".format(self.get_response)) + self.headerfn("HTTP/1.1 {} Status\r\n".format(self.get_response)) for k,v in self.headers.items(): self.headerfn("%s: %s" % (k,v))