diff --git a/src/xml-rpc.c b/src/xml-rpc.c index 5d37285f..dfb288fc 100644 --- a/src/xml-rpc.c +++ b/src/xml-rpc.c @@ -64,6 +64,10 @@ XMLSTRUCT *xml_init(WS_CONNINFO *pwsc, int emit_header) { pxml->pwsc = pwsc; + /* the world would be a wonderful place without ie */ + ws_addresponseheader(pwsc,"Cache-Control","no-cache"); + ws_addresponseheader(pwsc,"Expires","-1"); + if(emit_header) { ws_addresponseheader(pwsc,"Content-Type","text/xml; charset=utf-8"); ws_writefd(pwsc,"HTTP/1.0 200 OK\r\n");