Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I925618e426b325f4fafb9ed39a2d7c2d7c7b38f3
msg.type = HTTP_MSG_REPLY;
msg.code = status;
- msg.content_type = HTTP_CONTENT_TEXT_HTML;
+ msg.content_type = HTTP_CONTENT_APP_OCTET_STREAM;
msg.data.type = HTTP_MSG_DATA_INLINE;
msg.data.len = hs->data_len;
_ (TEXT_HTML, "text/html") \
_ (TEXT_CSS, "text/css") \
_ (TEXT_JS, "text/javascript") \
- _ (TEXT_JSON, "application/json")
+ _ (APP_JSON, "application/json") \
+ _ (APP_OCTET_STREAM, "application/octet-stream")
typedef enum http_content_type_
{