httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r321502 - /httpd/mod_mbox/trunk/module-2.0/mod_mbox_file.c
Date Sat, 15 Oct 2005 21:52:43 GMT
Author: pquerna
Date: Sat Oct 15 14:52:42 2005
New Revision: 321502

URL: http://svn.apache.org/viewcvs?rev=321502&view=rev
Log:
Set the output content type correctly for AJAX requests.  This caused the UI to stall, since
the browser didn't like text/html at all.

Modified:
    httpd/mod_mbox/trunk/module-2.0/mod_mbox_file.c

Modified: httpd/mod_mbox/trunk/module-2.0/mod_mbox_file.c
URL: http://svn.apache.org/viewcvs/httpd/mod_mbox/trunk/module-2.0/mod_mbox_file.c?rev=321502&r1=321501&r2=321502&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mod_mbox_file.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mod_mbox_file.c Sat Oct 15 14:52:42 2005
@@ -277,7 +277,7 @@
     /* AJAX requests return XML */
     if (strncmp(r->path_info, "/ajax", 5) == 0) {
 	/* Set content type */
-        ap_set_content_type(r, "text/html");
+        ap_set_content_type(r, "application/xml");
 
 	if (r->header_only) {
 	    return OK;



Mime
View raw message