urls.encoding: make query>assoc docs have checked example.
parent
cd4994ef36
commit
a97f840daa
|
@ -35,11 +35,11 @@ HELP: query>assoc
|
||||||
{ $description "Parses a URL query string and URL-decodes each component." }
|
{ $description "Parses a URL query string and URL-decodes each component." }
|
||||||
{ $notes "This word is used by the implementation of " { $link "urls" } ". It is also used by the HTTP server to parse POST requests." }
|
{ $notes "This word is used by the implementation of " { $link "urls" } ". It is also used by the HTTP server to parse POST requests." }
|
||||||
{ $examples
|
{ $examples
|
||||||
{ $unchecked-example
|
{ $example
|
||||||
"USING: prettyprint urls.encoding ;"
|
"USING: linked-assocs prettyprint urls.encoding ;"
|
||||||
"\"gender=female&agefrom=22&ageto=28&location=Omaha+NE\""
|
"\"gender=female&agefrom=22&ageto=28&location=Omaha+NE\""
|
||||||
"query>assoc ."
|
"query>assoc ."
|
||||||
"H{
|
"LH{
|
||||||
{ \"gender\" \"female\" }
|
{ \"gender\" \"female\" }
|
||||||
{ \"agefrom\" \"22\" }
|
{ \"agefrom\" \"22\" }
|
||||||
{ \"ageto\" \"28\" }
|
{ \"ageto\" \"28\" }
|
||||||
|
|
Loading…
Reference in New Issue