curl-users
Re: multiple POST requests while reusing the TCP connection
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 13 Nov 2013 01:37:34 +0100 (CET)
Date: Wed, 13 Nov 2013 01:37:34 +0100 (CET)
On Wed, 13 Nov 2013, JustAn0therAcc0unt wrote:
>> Yeps. This is actually what is referred to as "url-specific options" in
>> the TODO:
>>
>> http://curl.haxx.se/docs/todo.html#url_specific_options
> Also, it would be great if it would be supported for the config file as well.
> I'm not sure about the colon as a separator, but that's not as important.
I agree on both points. But what would be a better separator? Perhaps simply a
double-dash like -- which is used in other command line tools to separate
options from other stuff?
curl URL1 -- -T file2 URL2
But of course, we can also use other magic strings like == or ++ etc...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-11-13