No reason for CPC update specified.
@ -1,3 +1,10 @@
livecd-rootfs (2.586) eoan; urgency=medium
[ Robert C Jennings ]
* magic-proxy: Send headers on error (LP: #1829944)
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Thu, 23 May 2019 12:33:21 +1200
livecd-rootfs (2.585) eoan; urgency=medium
@ -843,6 +843,7 @@ class ProxyingHTTPRequestHandler(http.server.BaseHTTPRequestHandler):
"""Return an HTTP error status and a message in the response body."""
self.send_response(status)
self.send_header("Content-Type", "text/plain; charset=utf-8")
self.end_headers()
self.wfile.write(message.encode("utf-8"))