urls.encoding: make query>assoc docs have checked example.

db4
John Benediktsson 2015-11-04 15:16:36 -08:00
parent cd4994ef36
commit a97f840daa
1 changed files with 3 additions and 3 deletions

View File

@ -35,11 +35,11 @@ HELP: query>assoc
{ $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." }
{ $examples
{ $unchecked-example
"USING: prettyprint urls.encoding ;"
{ $example
"USING: linked-assocs prettyprint urls.encoding ;"
"\"gender=female&agefrom=22&ageto=28&location=Omaha+NE\""
"query>assoc ."
"H{
"LH{
{ \"gender\" \"female\" }
{ \"agefrom\" \"22\" }
{ \"ageto\" \"28\" }