[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: |
Stefan Monnier |
Subject: |
Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?] |
Date: |
Sun, 20 Dec 2020 09:36:33 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> Emacs definitely needs an alternative to url.el. It has some issues
> that are not easily solved nor worked around, such as potentially
> calling callbacks multiple times[0], requests not timing out, and some
> of its API being in the form of undocumented variables that must be
> let-bound around calls to its functions.
We should improve the API, indeed. Would you be interested in working
on that?
Extra bonus points if we can write a simple "`request` emulation layer"
on top of it ;-)
We should also fix the bugs: the multiple callbacks issue shouldn't be
hard to trackdown and fix.
> So in Ement.el[5], I've been using a simple Curl wrapper library that
> I've started.[6] It's rather primitive, but it seems to work well.
I think it's important for Emacs to have a good HTTP API that works
without any external dependency. It (technically) could be in any of
the forms:
- Including `curl` in Emacs' tarball.
- Linking to some more-or-less standard HTTP library and exposing some
API to ELisp.
- Write it all in ELisp (like url.el does).
If it can be done by improving url.el and growing a new API on top of
it, that will be less painful.
Stefan
- How to contribute new package to GNU ELPA?, stardiviner, 2020/12/17
- Re: How to contribute new package to GNU ELPA?, Stefan Monnier, 2020/12/19
- Re: How to contribute new package to GNU ELPA?, stardiviner, 2020/12/19
- Re: How to contribute new package to GNU ELPA?, Stefan Monnier, 2020/12/19
- Re: How to contribute new package to GNU ELPA?, stardiviner, 2020/12/19
- Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?], Adam Porter, 2020/12/20
- Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?], Daniel Brooks, 2020/12/20
- Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?], David Engster, 2020/12/20
- Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?], Lars Ingebrigtsen, 2020/12/20
- Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?],
Stefan Monnier <=
- Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?], Helmut Eller, 2020/12/20
- Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?], Daniel Brooks, 2020/12/20
- Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?], Jean Louis, 2020/12/21
- Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?], Richard Stallman, 2020/12/21
- Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?], Stefan Monnier, 2020/12/21
- Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?], Richard Stallman, 2020/12/22
- Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?], Philip K., 2020/12/21
- Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?], Eli Zaretskii, 2020/12/21
- Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?], Arthur Miller, 2020/12/21
- Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?], Eli Zaretskii, 2020/12/21