Commit b75522ae authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Łukasz Nowak

caddy-frontend/test: Add expected Content-Length header

parent bbc97b23
......@@ -686,6 +686,7 @@ class TestHandler(BaseHTTPRequestHandler):
f.write(json_response)
json_response = out.getvalue()
self.send_header('Backend-Content-Length', len(json_response))
self.send_header('Content-Length', len(json_response))
self.end_headers()
self.wfile.write(json_response)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment