Skip to main content

Module query

Module query 

Source
Expand description

Query strings: the one rule every route that takes parameters reads them by, so the HTTP routes and the tools built on the same functions refuse the same queries.

Structs§

BadQuery
A query the route does not take: a name it does not know, a name given twice, or a value it cannot read.

Functions§

names
Whether query names the parameter name in any of its pieces, with or without a value, after percent-decoding: a read that takes a marker asks this first, so an encoded or bare marker is never passed over.
pairs
The parameters of query, percent-decoded, by name. A name that is not in names, or that is given twice, is refused, so a misspelt or repeated parameter never goes unnoticed. No query is no parameters.