cURL / Mailing Lists / curl-library / Single Mail


Re: Enhancing POP3 to support extra commands

From: Daniel Stenberg <>
Date: Fri, 2 Dec 2011 08:43:23 +0100 (CET)

On Thu, 1 Dec 2011, Rich Gray wrote:

>> How about this instead: rather than embedding operations into the URL
>> itself, why not use the "--quote" option, or even the "--request" option to
>> specify them? That's analagous to how this would be done for HTTP, FTP and
>> SFTP; to delete a file on those, you'd use -X DELETE, -Q DELE X and -Q rm
>> X, respectively. That actually seems more natural to me than inventing a
>> URL scheme to do the same.
> I agree with Dan.

Count me as another supporter of this suggestion. I prefer this approach
because of the similarity to how it works with the other protocols already. It
makes things somewhat consistent between protocols when used with libcurl and
we aren't inventing or extending new URL formats.

Also, since there are and will be applications "out there" that accepts URLs
entered more or less unfiltered by humans (and then passed on to (lib)curl) we
need to be careful when introducing formats that makes "an action". Such as
deleting mails.

List admin:
Received on 2011-12-02