Commit 8b8d79ee authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Include text/html in content-type for error status response

parent 3be09efb
......@@ -450,6 +450,8 @@ void prepare_status_response(Request *req, SpdyEventHandler *hd,
data_prd.read_callback = file_read_callback;
std::vector<std::pair<std::string, std::string> > headers;
headers.push_back(std::make_pair("content-encoding", "gzip"));
headers.push_back(std::make_pair("content-type",
"text/html; charset=UTF-8"));
hd->submit_response(status, req->stream_id, headers, &data_prd);
}
}
......
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