Unverified Commit c8b3edda authored by Gavin Brown's avatar Gavin Brown
Browse files

send a Content-Type header that matches the Accept header in the request

parent 5018030a
......@@ -230,7 +230,7 @@ sub handle_connection {
$connection->send_header('Server', basename(__FILE__));
$connection->send_header(CONTENT_TYPE, $types[0]);
$connection->send_header(CONTENT_TYPE, $request->header(CONTENT_TYPE) || $types[0]);
$connection->send_header('Connection', 'close');
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