[plt-scheme] Problem fetching a URL

From: Christopher Armstrong (radix at twistedmatrix.com)
Date: Thu Oct 12 16:29:58 EDT 2006

On 10/12/06, Doug Orleans <dougorleans at gmail.com> wrote:
> David T. Pierson writes:
>  > I think the solution for PLT Scheme requires that url parsing never try
>  > to interpret the data within a query string.  (Or at least it shouldn't
>  > do so by default.)  The query field of the url struct should therefore
>  > be a string, not a list of name value pairs.  PLT Scheme applications
>  > which need to encode/decode a query string as
>  > application/x-www-form-urlencoded data can do so using the functions
>  > already provided for that purpose (alist->form-urlencoded and
>  > form-urlencoded->alist).
>
> I agree with this post!

My vague understanding was along the same lines as Dave's, although I
was not confident enough in my familiarity with the relevant RFCs to
say so. We had to draw similar conclusions in the development of
twisted.web.

-- 
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/


Posted on the users mailing list.