We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff79ea commit d23bf68Copy full SHA for d23bf68
htp/htp_transaction.c
@@ -1347,7 +1347,8 @@ htp_status_t htp_tx_state_response_headers(htp_tx_t *tx) {
1347
tx->response_content_encoding = HTP_COMPRESSION_DEFLATE;
1348
} else if (bstr_cmp_c_nocasenorzero(ce->value, "lzma") == 0) {
1349
tx->response_content_encoding = HTP_COMPRESSION_LZMA;
1350
- } else if (bstr_cmp_c_nocasenorzero(ce->value, "inflate") == 0) {
+ } else if (bstr_cmp_c_nocasenorzero(ce->value, "inflate") == 0 ||
1351
+ bstr_cmp_c_nocasenorzero(ce->value, "identify") == 0) {
1352
// ignore
1353
} else {
1354
/* exceptional cases: enter slow path */
0 commit comments