From aee908bcbd6ae160ab8e470ea6a373148649968b Mon Sep 17 00:00:00 2001 From: Zhidao HONG Date: Fri, 5 Nov 2021 22:56:34 +0800 Subject: 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. --- src/nxt_http.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nxt_http.h') 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; -- cgit