summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorcflip <cflip@cflip.net>2023-06-01 09:38:51 -0600
committercflip <cflip@cflip.net>2023-06-01 09:47:02 -0600
commit02a542644617f65cf7285f0facebc827fd036b45 (patch)
treee5888f4c3d70ae46f55b7c17d74f1f14fb455b80 /http.h
parent40b66da398695590f82594bb92fd824bfdb44836 (diff)
Parse query string from HTTP requests
Diffstat (limited to 'http.h')
-rw-r--r--http.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/http.h b/http.h
index 3cdc062..89576f6 100644
--- a/http.h
+++ b/http.h
@@ -18,6 +18,7 @@ enum http_res_code {
struct http_request {
int method;
char *uri;
+ char *query_str;
};
struct http_request http_parse_request(const char *);