[racket] Preventing get-impure-port from url-encoding the query

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Thu Jul 11 13:59:56 EDT 2013

On Thu, Jul 11, 2013 at 1:46 PM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
> On Wed, Jul 10, 2013 at 5:27 PM, Evan Donahue <emdonahu at gmail.com> wrote:
>> Hello, I am trying to use the racket networking libraries for a basic set of
>> get and post requests. I need to send a url of the form:
>>
>> http://foo.com/?url=http://bar.com?baz=1000 (NOT form encoded)
>
> As far as I can tell from URL specs, this is not a URL.

I don't think that's correct. In particular, see
http://url.spec.whatwg.org/#query-state and step 3 there, as well as
the definition on URL code point here:
http://url.spec.whatwg.org/#url-code-points which includes all of the
characters in Evan's query.

Sam

Posted on the users mailing list.