From 9cb4b741990c9a86c7b3c960d17c80ff645a89a2 Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Thu, 27 Jan 2022 08:43:28 -0800 Subject: [PATCH] Document method origin in ParseQuery. --- jhttp/getter.go | 1 + 1 file changed, 1 insertion(+) diff --git a/jhttp/getter.go b/jhttp/getter.go index 43a56a4..b14e533 100644 --- a/jhttp/getter.go +++ b/jhttp/getter.go @@ -169,6 +169,7 @@ func writeJSON(w http.ResponseWriter, code int, obj interface{}) { // ParseQuery parses a request URL and constructs a parameter map from the // query values encoded in the URL and/or request body. // +// The method name is the URL path, with leading and trailing slashes trimmed. // Query values are converted into argument values by these rules: // // Double-quoted values are interpreted as JSON string values, with the same