diff --git a/examples/SpdyServer.cc b/examples/SpdyServer.cc index 6fbf9e8..0142a01 100644 --- a/examples/SpdyServer.cc +++ b/examples/SpdyServer.cc @@ -450,6 +450,8 @@ void prepare_status_response(Request *req, SpdyEventHandler *hd, data_prd.read_callback = file_read_callback; std::vector > 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); } }