[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNU ELPA] New package: url-http-oauth
From: |
João Távora |
Subject: |
Re: [GNU ELPA] New package: url-http-oauth |
Date: |
Mon, 8 May 2023 17:19:30 +0100 |
On Mon, May 8, 2023 at 3:22 PM T.V Raman <raman@google.com> wrote:
>
>
> url.el is definitely outdated and likely one of the bottlenecks that
> holds back EWW; the other is of course JS.
>
> I looked at plz.el when it came out and it is nice; by depending on
> Curl, it immediately brings Emacs up-to-date with various URL bits that
> have languished in url.el. That said, for Emacs to be able to move on
> from url.el, I suspect we'll need an 80/20 plz wrapper that if loaded by
> the user causes calls to the url library to be overridden by plz so that
> one can then use EWW to validate the effectiveness and completeness of
> plz.
Hmm, OK, thanks for mentioning this. Does it depend on curl or libcurl?
Starting a new process for every request seems not ideal, and
defeats the purpose of HTTP keep-alive. But I'm just speculating
here, maybe that's not how it works.
An elisp HTTP client based on process-filters shouldn't be _that_
hard to write though. AFAIR the ugly bits of url.el weren't about
that, but just run-of-the-mill API quirks about response codes and
such.
João