diff options
Diffstat (limited to 'src/plugins/hs_apps/http_server.c')
-rw-r--r-- | src/plugins/hs_apps/http_server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/hs_apps/http_server.c b/src/plugins/hs_apps/http_server.c index 7a4a5194022..3083937ec74 100644 --- a/src/plugins/hs_apps/http_server.c +++ b/src/plugins/hs_apps/http_server.c @@ -159,7 +159,8 @@ start_send_data (http_session_t *hs, http_status_code_t status) msg.type = HTTP_MSG_REPLY; msg.code = status; - msg.data.content_type = HTTP_CONTENT_TEXT_HTML; + msg.content_type = HTTP_CONTENT_TEXT_HTML; + msg.data.type = HTTP_MSG_DATA_INLINE; msg.data.len = vec_len (hs->tx_buf); ts = session_get (hs->vpp_session_index, hs->thread_index); |