summaryrefslogtreecommitdiff
path: root/xs_httpd.h
diff options
context:
space:
mode:
authorGravatar default2024-11-07 20:47:37 +0100
committerGravatar default2024-11-07 20:47:37 +0100
commita6bf1ee0d0e238cb13d916c019bc231986d44401 (patch)
tree5b37f54ed7818854febae4fdf656e1a4a2b16076 /xs_httpd.h
parentDon't proxy our own URLs. (diff)
downloadsnac2-a6bf1ee0d0e238cb13d916c019bc231986d44401.tar.gz
snac2-a6bf1ee0d0e238cb13d916c019bc231986d44401.tar.xz
snac2-a6bf1ee0d0e238cb13d916c019bc231986d44401.zip
Use the raw_path for proxying (as some media may include ? arguments).
Diffstat (limited to 'xs_httpd.h')
-rw-r--r--xs_httpd.h1
1 files changed, 1 insertions, 0 deletions
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)
32 xs_dict *req = xs_dict_new(); 32 xs_dict *req = xs_dict_new();
33 33
34 req = xs_dict_append(req, "method", xs_list_get(l2, 0)); 34 req = xs_dict_append(req, "method", xs_list_get(l2, 0));
35 req = xs_dict_append(req, "raw_path", xs_list_get(l2, 1));
35 req = xs_dict_append(req, "proto", xs_list_get(l2, 2)); 36 req = xs_dict_append(req, "proto", xs_list_get(l2, 2));
36 37
37 { 38 {