aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/hs_apps/http_tps.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2022-02-22 18:18:47 -0800
committerDave Barach <openvpp@barachs.net>2022-02-23 21:33:46 +0000
commit1b026cb028d6bcf24d243f633352b7ac58ce5c00 (patch)
treefa0ec60d0cdc76348cffa73b2b35c77d3f9097d1 /src/plugins/hs_apps/http_tps.c
parent4df1d35132fcd07a5559e63e9ac89b1a2dc2989d (diff)
http hsa: use octet-stream content type for tps
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I925618e426b325f4fafb9ed39a2d7c2d7c7b38f3
Diffstat (limited to 'src/plugins/hs_apps/http_tps.c')
-rw-r--r--src/plugins/hs_apps/http_tps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/hs_apps/http_tps.c b/src/plugins/hs_apps/http_tps.c
index 205e062a923..089350eb506 100644
--- a/src/plugins/hs_apps/http_tps.c
+++ b/src/plugins/hs_apps/http_tps.c
@@ -189,7 +189,7 @@ hts_start_send_data (hts_session_t *hs, http_status_code_t status)
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;