| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: Fwd: Bug#311112: curl: Escape <space> in HTTP requests
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 6 Jun 2005 23:13:18 +0200 (CEST)
On Sat, 4 Jun 2005, Andreas Metzler wrote:
(now only on the users list, this is not a libcurl issue)
Thanks for getting back on the subject and being persistent. Discussions and
>> Having curl translate illegal letters into something else would take
I beg to differ. For example, if the URL would look like this:
Besides, many servers allow spaces in the GET requests fine, so there are
The only thing the "respective RFCs" would tell you, is that space (hex 20,
I can think of three different approach to the "space problem" (it applies to
1) pass on what you ask it, as far as possible (the current approach)
2) reject all illegal URLs
3) translate illegal URL into the supposedly wanted version
I picked approach 1 ages ago because I think this is the way for curl. A
Of course we could add an option for it. See further below.
>> Also (of course) different servers and different protocols will treat that
Yes, and I widened the perspective since URLs are not HTTP alone and neither
> I /thought/ curl was supposed to not require intrisinic knowledge on HTTP
How did certain basic knowledge of the URL format become "intrisinic knowledge
> FWIW wget does what I suggested.
Sure, Mozilla and wget do things differently than curl. In fact, they do all
> - This is not intended as a "If you don't do what I want you to, I'll switch
I'm not so sure about that. At least one of the mentioned comparison tools do
I guess this might be because we have different goals and ideas in mind when
> Of course the behavior I sugest would need to be made default, I'd be
I wouldn't mind seeing such an option.
I suppose it would make even more sense if it was made an option that converts
Anyone up to writing such a patch?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-06-06 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info