Split HTTP request from response Content-Type. Request Content-Type should be present with POSTs and not with other methods such as GET

This commit is contained in:
Luca Deri
2021-01-06 18:28:24 +01:00
parent cd21f0d316
commit eb37f8f1fb
12 changed files with 83 additions and 52 deletions
+1 -1
View File
@@ -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;