summaryrefslogtreecommitdiff
path: root/src/http_decoder/http_decoder.h
diff options
context:
space:
mode:
authorliuwentan <[email protected]>2023-12-28 18:31:44 +0800
committerliuwentan <[email protected]>2023-12-28 18:31:44 +0800
commita9afd24fafcf867b6fa272e6651c41dac5407567 (patch)
tree5d83d3480b55cf2358f99005e452c7a9259102a0 /src/http_decoder/http_decoder.h
parent9354f4ca90570739aab9a0d61a91cb8822565440 (diff)
[PATCH]bugfix for compressed body
Diffstat (limited to 'src/http_decoder/http_decoder.h')
-rw-r--r--src/http_decoder/http_decoder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http_decoder/http_decoder.h b/src/http_decoder/http_decoder.h
index 68202ba..430ea16 100644
--- a/src/http_decoder/http_decoder.h
+++ b/src/http_decoder/http_decoder.h
@@ -82,6 +82,9 @@ int http_message_get_request_raw_body(struct http_message *msg, struct hstring *
int http_message_get_response_raw_body(struct http_message *msg, struct hstring *body);
+/**
+ * @brief If the body hasn't been compressed, return raw body
+*/
int http_message_get_request_decompress_body(struct http_message *msg, struct hstring *body);
int http_message_get_response_decompress_body(struct http_message *msg, struct hstring *body);