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: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?] Date: Sat, 27 Mar 2021 18:47:57 -0700 Message-ID: References: <15c3cc00-f56e-6e52-2228-30817639315a@gmail.com> <87v9cwek4u.fsf_-_@alphapapa.net> <87k0tcpp71.fsf@db48x.net> Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11697"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Adam Porter , emacs-devel@gnu.org To: Daniel Brooks Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 28 03:48:54 2021 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 1lQKXu-0002vZ-CL for ged-emacs-devel@m.gmane-mx.org; Sun, 28 Mar 2021 03:48:54 +0200 Original-Received: from localhost ([::1]:39134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQKXt-0005KI-E0 for ged-emacs-devel@m.gmane-mx.org; Sat, 27 Mar 2021 21:48:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQKX6-0004uc-JE for emacs-devel@gnu.org; Sat, 27 Mar 2021 21:48:04 -0400 Original-Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:40470) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQKX4-0003mJ-Ey for emacs-devel@gnu.org; Sat, 27 Mar 2021 21:48:04 -0400 Original-Received: by mail-pg1-x52a.google.com with SMTP id v186so7125027pgv.7 for ; Sat, 27 Mar 2021 18:48:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=KXhaPYjW1DvLwj98N2m2OhhYcEmGLnVYWW/y6R2wU4w=; b=wQlL+YA1HabSSXB/8C9RLPZRdKiKpyBfNVPi7Sp1YhHW+vfXlAY3HJDQViUL6ZANVO K6vI+ds8OwY+bqdXcnsfomHZfwABTPR/tUMFrPP5snjt4OqLYUKRgAtN8WPa6XuwHe0g QppA2RBhe1UYYVR3vDflvBXtDQb2f8uvV93w58q/px56HNuhruAPhyuQOakxA4aUWws/ WiPfeXiGg3aantUHKneqrR5BtCRS73KYRk+04wNl8L10DAtXMtBX2ZJBEw8SXpbAfBx/ n3XZ17p64v80TqUhwaQXmv8jZvl0mqu28WO/M6IkzLi5N+p52apazWMMzEtp44MOprrv SbJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=KXhaPYjW1DvLwj98N2m2OhhYcEmGLnVYWW/y6R2wU4w=; b=iUOfsPc5isGZWhOK7js1uZ+/NoPMMBNHrSPvpUT4LTME1IJQBCD/rHJ9+PJ/DIuUzS lda3mGsYIIklkkfs9D4P3G8ec/pLF0ZNE3Bh+6bT9E1fEn8bXc9N7vR9lbVy3fbJe7Kd fcvC8jXlnxrqTG9P3Ov4xDLcIUkhf4fU4TJKUJv2GgDmk9Kpz+yPXYhdwVI0rcJ1i5j7 XUqc8HXD90vMJXceW0cRif9PiBLsnWZuV+YO4hi8nF33ZokctYbXvQXCOSndbjngxWi8 xvYGL9LwGV/S96o3EV7NpZfPjMhtr/tQ4XUFVBtvm5vk26wQzL2vWY5pYuH0s5+v3sI7 0QwA== X-Gm-Message-State: AOAM531osutwXPtmjhVdMc9jExl+HBOHQkJ7R5o9j7B7xSsDjHO/p4dS TuRdi0N0r6ci+mlvNd0oJeD1eQ== X-Google-Smtp-Source: ABdhPJxBpQQjDSI2xng8G207+DgyrjpFnrQHb8mU7CM2oZFkJQ1T14XKK8c6aBtXqaU0uc/P6gxYJw== X-Received: by 2002:aa7:9f90:0:b029:204:99fa:3374 with SMTP id z16-20020aa79f900000b029020499fa3374mr19142107pfr.11.1616896079465; Sat, 27 Mar 2021 18:47:59 -0700 (PDT) Original-Received: from raman-glaptop.localdomain (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id q19sm13530672pff.91.2021.03.27.18.47.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Mar 2021 18:47:58 -0700 (PDT) Original-Received: by raman-glaptop.localdomain (Postfix, from userid 13930) id A9938C21C95; Sat, 27 Mar 2021 18:47:57 -0700 (PDT) In-Reply-To: <87k0tcpp71.fsf@db48x.net> (Daniel Brooks's message of "Sun, 20 Dec 2020 05:44:18 -0800") Received-SPF: pass client-ip=2607:f8b0:4864:20::52a; envelope-from=raman@google.com; helo=mail-pg1-x52a.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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.23 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" Xref: news.gmane.io gmane.emacs.devel:267125 Archived-At: Daniel Brooks writes: 1+ on libcurl, this discussion happened a while ago here though and ran aground, dont remember why. But independent of the ability down the road to native-compile elisp, I still think re-using the work of the curl project to get an HTTP library that the emacs project doesn't have to maintain would be a big win > Adam Porter 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 > --=20 Thanks, --Raman =817=A94 Id: kg:/m/0285kf1 =950=DC8