diff --git a/basis/urls/encoding/encoding-docs.factor b/basis/urls/encoding/encoding-docs.factor index 5ba94ea1bc..f8b435441f 100644 --- a/basis/urls/encoding/encoding-docs.factor +++ b/basis/urls/encoding/encoding-docs.factor @@ -19,10 +19,10 @@ HELP: assoc>query { $notes "This word is used by the implementation of " { $link "urls" } ". It is also used by the HTTP client to encode POST requests." } { $examples { $example - "USING: io urls ;" + "USING: io urls.encoding ;" "{ { \"from\" \"Lead\" } { \"to\" \"Gold, please\" } }" "assoc>query print" - "from=Lead&to=Gold%2c+please" + "from=Lead&to=Gold%2c%20please" } } ; @@ -32,7 +32,7 @@ HELP: query>assoc { $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 ;" + "USING: prettyprint urls.encoding ;" "\"gender=female&agefrom=22&ageto=28&location=Omaha+NE\"" "query>assoc ." <" H{ diff --git a/basis/urls/encoding/encoding.factor b/basis/urls/encoding/encoding.factor index a4519c99b0..fa882609a5 100644 --- a/basis/urls/encoding/encoding.factor +++ b/basis/urls/encoding/encoding.factor @@ -2,8 +2,8 @@ ! See http://factorcode.org/license.txt for BSD license. USING: kernel ascii combinators combinators.short-circuit sequences splitting fry namespaces make assocs arrays strings -io.sockets io.sockets.secure io.encodings.string -io.encodings.utf8 math math.parser accessors hashtables present ; +io.encodings.string io.encodings.utf8 math math.parser accessors +hashtables present ; IN: urls.encoding : url-quotable? ( ch -- ? )