summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http.h
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2021-11-05 22:56:34 +0800
committerZhidao HONG <z.hong@f5.com>2021-11-05 22:56:34 +0800
commitaee908bcbd6ae160ab8e470ea6a373148649968b (patch)
tree99baed6d733282fd4cb537478c9ebf7a4ed194a8 /src/nxt_http.h
parent1260add0f5cacd5849640f7ee335f3ace97ade2c (diff)
downloadunit-aee908bcbd6ae160ab8e470ea6a373148649968b.tar.gz
unit-aee908bcbd6ae160ab8e470ea6a373148649968b.tar.bz2
Router: matching query string support.
The "query" option matches decoded arguments, including plus ('+') to space (' '). Like "uri", it can be a string or an array of strings.
Diffstat (limited to 'src/nxt_http.h')
-rw-r--r--src/nxt_http.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_http.h b/src/nxt_http.h
index 332ac932..02d66f58 100644
--- a/src/nxt_http.h
+++ b/src/nxt_http.h
@@ -148,6 +148,7 @@ struct nxt_http_request_s {
nxt_str_t *path;
nxt_str_t *args;
+ nxt_str_t args_decoded;
nxt_array_t *arguments; /* of nxt_http_name_value_t */
nxt_array_t *cookies; /* of nxt_http_name_value_t */
nxt_list_t *fields;