| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: --data-encode
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 8 Nov 2007 23:31:03 +0100 (CET)
On Sun, 4 Nov 2007, Alessandro Vesely wrote:
> perhaps --data-urlencode is a better name for the option?
Yes, I think you're right!
>> --data-encode name=content
That's what I meant. The name is passed on exactly as given, only the part to
>> --data-encode name_at_filename
Yes it is. The reasoning behind this change is that I imagine using this
--data-urlencode field=$moo
... and if we for example get some more or less random input in the variable
We can solve the problem in other ways too, but this is what I came up with
>> You can of course mix --data, --data-binary and --data-encode on a command
Yes, you can encode GET forms too with this, since you can always use -G to
> I think it's good. The ability to cleanly pass "name=$VALUE" or
Exactly!
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-11-08 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info