aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.h
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2021-01-06 18:28:24 +0100
committerLuca Deri <deri@ntop.org>2021-01-06 18:28:24 +0100
commiteb37f8f1fbf62fce7e8997a24408b998f895d07b (patch)
treed56b4cc326b9f8f3a6d3aa31741702bab017bb51 /example/reader_util.h
parentcd21f0d31647444d93536bed2516ddc175e09b25 (diff)
Split HTTP request from response Content-Type. Request Content-Type should be present with POSTs and not with other methods such as GET
Diffstat (limited to 'example/reader_util.h')
-rw-r--r--example/reader_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/reader_util.h b/example/reader_util.h
index f471c365f..1fee437a9 100644
--- a/example/reader_util.h
+++ b/example/reader_util.h
@@ -221,7 +221,7 @@ typedef struct ndpi_flow_info {
} ssh_tls;
struct {
- char url[256], content_type[64], user_agent[128];
+ char url[256], request_content_type[64], content_type[64], user_agent[128];
u_int response_status_code;
} http;