From a6bf1ee0d0e238cb13d916c019bc231986d44401 Mon Sep 17 00:00:00 2001 From: default Date: Thu, 7 Nov 2024 20:47:37 +0100 Subject: Use the raw_path for proxying (as some media may include ? arguments). --- xs_httpd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xs_httpd.h') diff --git a/xs_httpd.h b/xs_httpd.h index 02b8ac2..860ae05 100644 --- a/xs_httpd.h +++ b/xs_httpd.h @@ -32,6 +32,7 @@ xs_dict *xs_httpd_request(FILE *f, xs_str **payload, int *p_size) xs_dict *req = xs_dict_new(); req = xs_dict_append(req, "method", xs_list_get(l2, 0)); + req = xs_dict_append(req, "raw_path", xs_list_get(l2, 1)); req = xs_dict_append(req, "proto", xs_list_get(l2, 2)); { -- cgit v1.2.3