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

From: Evan Donahue (emdonahu at gmail.com)
Date: Wed Jul 10 19:27:56 EDT 2013

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)

however, the standard get-impure-port procedure seems to enforce
url-encoding, which ends up submitting the request:

http://foo.com/?url=http%3A%2F%2Fbar.com%3Fbaz%3D1000

I was wondering if there was any built-in way to circumvent the
url-encoding process at any stage of the get-impure-port function, or
whether anyone could recommend the least invasive way to integrate the
ability to make such requests into my usage of the other networking
functions. I haven't used racket before, so I am not especially familiar
with the typical patterns associated with the core libraries.

Thanks,
Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130710/cce51491/attachment.html>

Posted on the users mailing list.