summaryrefslogtreecommitdiffstats
path: root/src/plugins/http/http.h
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/http/http.h
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/http/http.h')
-rw-r--r--src/plugins/http/http.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/http/http.h b/src/plugins/http/http.h
index da74459794c..d18b057de19 100644
--- a/src/plugins/http/http.h
+++ b/src/plugins/http/http.h
@@ -83,7 +83,8 @@ typedef enum http_msg_type_
_ (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_
{