]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: change default content type to binary/octet-stream
authorYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 6 Oct 2010 07:06:51 +0000 (00:06 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 6 Oct 2010 07:06:51 +0000 (00:06 -0700)
src/rgw/rgw_rest.cc

index a3440a53182d4a70bf7485a87d97ddefae1f8640..7631cc1ca6e0cd713f874bba37ce9ee2919b9e42 100644 (file)
@@ -159,7 +159,7 @@ void dump_start_xml(struct req_state *s)
 void end_header(struct req_state *s, const char *content_type)
 {
   if (!content_type)
-    content_type = "text/plain";
+    content_type = "binary/octet-stream";
   CGI_PRINTF(s->fcgx->out,"Content-type: %s\r\n\r\n", content_type);
   if (s->err_exist) {
     dump_start_xml(s);