From: Yehuda Sadeh Date: Wed, 6 Oct 2010 07:06:51 +0000 (-0700) Subject: rgw: change default content type to binary/octet-stream X-Git-Tag: v0.22~46^2~4 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ed3976ce562908a0df02828d7c8d3dc79fa6443e;p=ceph.git rgw: change default content type to binary/octet-stream --- diff --git a/src/rgw/rgw_rest.cc b/src/rgw/rgw_rest.cc index a3440a53182d4..7631cc1ca6e0c 100644 --- a/src/rgw/rgw_rest.cc +++ b/src/rgw/rgw_rest.cc @@ -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);