On Mon, 7 Jul 2008 09:08:18 -0700 (PDT), Eric Benson <[EMAIL PROTECTED]> wrote:

> RFC 2396 has been superseded by RFC 3986, although that does not
> affect this case.

RFC 2396 is what is quoted in RFC 2616, so that's why I was referring
to it.

> http://www.w3.org/Addressing/URL/4_URI_Recommentations.html
>
> "Within the query string, the plus sign is reserved as shorthand
> notation for a space.  Therefore, real plus signs must be encoded.

That's what Drakma does.

> For the record, neither IE nor Firefox encodes plus signs when they
> are entered as part of the query.

They encode them if they are GET parameters, like Drakma.  Open the
attached HTML page in IE or Firefox and enter "a+b", then press the
Return key.

> It seems to me that http-request should make encoding of the
> parameters optional, since a client program may need to deal with
> encoded as well as unencoded strings. Otherwise, a caller of
> http-request that already has encoded parameters must explicitly
> decode them before calling.

No, you are free to build the URL for Drakma yourself.

Edi.

_______________________________________________
drakma-devel mailing list
drakma-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel

Reply via email to