From c1f455b16f76f28276c86a12abd34b73e76c52c1 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Thu, 3 Mar 2005 06:56:58 +0000 Subject: [PATCH] Fix content-type for xml serialized response --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index 70bc4549..19c62187 100644 --- a/src/main.c +++ b/src/main.c @@ -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");