Fix content-type for xml serialized response

This commit is contained in:
Ron Pedde 2005-03-03 06:56:58 +00:00
parent fb646037b0
commit c1f455b16f

View File

@ -377,6 +377,7 @@ void daap_handler(WS_CONNINFO *pwsc) {
ws_addresponseheader(pwsc,"Content-Length","%d",bytes_written);
} else {
ws_addresponseheader(pwsc,"Connection","close");
ws_addresponseheader(pwsc,"Content-type","text/xml");
pwsc->close=1;
}
ws_writefd(pwsc,"HTTP/1.1 200 OK\r\n");