emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU


From: Daniel Brooks
Subject: Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?]
Date: Sun, 20 Dec 2020 05:44:18 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Adam Porter <adam@alphapapa.net> writes:

> Of course, it would be ideal if Emacs had a built-in HTTP library that
> didn't require an external dependency like Curl, but Curl does work
> well.  The only issue I have with it is that certain data can only be
> passed via either the command line (leaving it visible to the whole
> system) or temporary files (which have to be carefully handled), which
> is a concern for, e.g. cookies, authentication tokens, passwords, etc.
> Unfortunately, when that issue was raised and a solution proposed in
> 2003, it was quickly rejected.[8]
>
> 8: https://curl.se/mail/archive-2003-08/0099.html

For a built-in library, it would be better to use libcurl. This ensures
that there won't be any complications from hiding this type of
information, and the curl command-line program is just a simple wrapper
around libcurl anyway. In fact, even an installable library could
include libcurl in a dynamically-loadable module.

db48x



reply via email to

[Prev in Thread] Current Thread [Next in Thread]