From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: [GNU ELPA] New package: url-http-oauth Date: Mon, 8 May 2023 09:44:53 -0700 Message-ID: <25689.9989.71356.660833@retriever.mtv.corp.google.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27073"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, fitzsim@fitzsim.org, emacs-devel@gnu.org To: joaotavora@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 08 18:45:55 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pw3zm-0006ub-U9 for ged-emacs-devel@m.gmane-mx.org; Mon, 08 May 2023 18:45:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pw3z2-00055K-LI; Mon, 08 May 2023 12:45:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pw3yz-00055C-27 for emacs-devel@gnu.org; Mon, 08 May 2023 12:45:05 -0400 Original-Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pw3yw-0000AX-Eb for emacs-devel@gnu.org; Mon, 08 May 2023 12:45:03 -0400 Original-Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-643990c5373so4584478b3a.1 for ; Mon, 08 May 2023 09:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1683564300; x=1686156300; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:from:to:cc:subject:date :message-id:reply-to; bh=m54UmXybckBQFIBI3EiE2BrcBFCKnJPcCbvEA32T2no=; b=ppBshXm0fy7+f3vIL3tzSJ5mLwEJ9O7SVTmgg+jXDQfNLjt/updlQUPSiGDIKa4MOy 6N4upUYBGUAsl8g/afFqqDAuhcsOqSA4rkA8QIT4O8Op1Gwk0zS9VRSDooG9i3JCUtMh FxEhLGld4Tv19a6Xkk4prbpZ1rzzh/LUpePDhfPo0tp1NccQRs5o7knC4pDoOF4c/IB3 hK9JJciBmpttt/meCH9P4sRxgo2mqzKFo25q8sjcgIhf1m4sgtPPFtrU/2gOjgR+yk+T YwdN4RUhYevZHLdVgvizmZ/CP5JPexr+dLDapoXeIZ06TVvGeEKiKDLmrMN/zHxbFNhg gkEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683564300; x=1686156300; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=m54UmXybckBQFIBI3EiE2BrcBFCKnJPcCbvEA32T2no=; b=RDO6FpfMMylC/SQi2zuKEEnsIQAWZNMCNjjilVhpJ2kK/CXolzcXBlh6O7AusXUB0O NldkN4rIoeadOM0JPUeQbGj6ND3buhf4AqAMV4OVPFBKYGSanuNECkHNaxRX2/DPhrii Er1RvAthTuLN7bgL0j2/96sF6Wwawcur/L1O7h+7aU5uK4KIY32hH3o87RCwDLJZcHWY nxE8bmYNrKZ4IqF/762P7xyCigqGaDBAUq3z66wDeX6nUKy8iWyW4ZvLPew7XhwG0O+m hZxYQrWzGJRTt9qy6q8/PognTCLXcR88Bes77m9JEjb8qLW+a8VmmwxQ2Vr4xw24rL3/ EfJA== X-Gm-Message-State: AC+VfDyc1sjngSX8RMqDoX/d7KqvgJk2oSMCOy9ve2WfDFo7wqfDkygf NpUiGbRwQoDnixYSzSVHhCaWqKTbL5eyIiNFD4DmYA== X-Google-Smtp-Source: ACHHUZ57IaTBT9SaJiuc26wGBteLOynQjzuWFuo/lZK030d5K8dVsziSr8zdmuWnn7+bEivcEN5eDA== X-Received: by 2002:a05:6a00:2d25:b0:636:e52f:631e with SMTP id fa37-20020a056a002d2500b00636e52f631emr14866806pfb.1.1683564300270; Mon, 08 May 2023 09:45:00 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1612:c2d4:4533:575d:374]) by smtp.gmail.com with ESMTPSA id u6-20020a63df06000000b00524cfd635cesm6400600pgg.69.2023.05.08.09.44.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 09:44:59 -0700 (PDT) In-Reply-To: X-Mailer: VM 8.1.1 under 30.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=raman@google.com; helo=mail-pf1-x42a.google.com X-Spam_score_int: -193 X-Spam_score: -19.4 X-Spam_bar: ------------------- X-Spam_report: (-19.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-1.802, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305986 Archived-At: I agree that using libcurl would be better, but that proposal has gone nowhere. plz uses curl s a separate process but it might be a good stepping stone to eventually moving to a libcurl based solution. Jo=C3=A3o T=C3=A1vora writes: > On Mon, May 8, 2023 at 3:22=E2=80=AFPM T.V Raman = wrote: > > > > > > url.el is definitely outdated and likely one of the bottlenecks t= hat > > 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 loa= ded by > > the user causes calls to the url library to be overridden by plz s= o that > > one can then use EWW to validate the effectiveness and completenes= s of > > plz. >=20 > Hmm, OK, thanks for mentioning this. Does it depend on curl or libc= url=3F > 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. >=20 > An elisp HTTP client based on process-filters shouldn't be =5Fthat=5F= > 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. >=20 > Jo=C3=A3o --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮