emacs-devel
[Top][All Lists]
Advanced

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

Re: [GNU ELPA] New package: url-http-oauth


From: Thomas Fitzsimmons
Subject: Re: [GNU ELPA] New package: url-http-oauth
Date: Mon, 08 May 2023 11:27:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Hi João,

João Távora <joaotavora@gmail.com> writes:

> I think packages such as this one are very welcome, and I appreciate the
> UI-agnostic architecture you describe.

Thanks.

> Url.el itself, last i looked, seemed a bit outdated and hard to work
> with.

I find it OK to work with.  It's primarily elisp, vs some other
proposals I've seen, so I can step through most of it with edebug.
There's one FIXME in url-http-oauth currently that may represent a
url.el oddity (or may represent me doing something wrong):

;; FIXME: if anything goes wrong during the authentication steps,
;; `url-http-end-of-document-sentinel' calls back into
;; `url-oauth-auth' somehow.  Maybe `url-http-no-retry' can help here?

I'm sure other client libraries would have oddities too though.

Are there bugs filed for the specific ways in which url.el may be
outdated or hard to work with?  Maybe someone could maintain a
collection of links to those bug reports, to see how contenders measure
up?  Of course, that list wouldn't represent the upsides of url.el, such
as the elisp purity I mentioned.

> Are there other http client libraries for Emacs?

Today url.el works for me, so I don't have plans to change; I'll
probably just follow what makes it into Emacs core.

> Could they also take advantage of your new library?

If the new library implemented url.el's APIs, then sure.  I would accept
well-defined/minimal compatibility patches for other client libraries
too, of course.

Thomas



reply via email to

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