From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= <aconchillo@gmail.com>
Newsgroups: gmane.lisp.guile.user
Subject: Re: [EXT] What do you use to make HTTP requests?
Date: Wed, 10 Aug 2022 10:18:17 -0700
Message-ID: <CA+XASoUASbfTX96L62HXMxJcMif+i=EGvwju5nRTdhWRmoh_9g@mail.gmail.com>
References: <20220810084044.nezm5aqgn4a6odxl@jamescrake-meraniarch>
 <CAJ=RwfaMCwbON8HhuUdGWpEbOcSz_faK4ibiu+FN2ikNMJEkMQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="38888"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: James Crake-Merani <james@jamescm.co.uk>, Guile User <guile-user@gnu.org>
To: "Thompson, David" <dthompson2@worcester.edu>
Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Aug 10 19:20:58 2022
Return-path: <guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org>
Envelope-to: guile-user@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 <guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org>)
	id 1oLpO5-0009vO-V6
	for guile-user@m.gmane-mx.org; Wed, 10 Aug 2022 19:20:57 +0200
Original-Received: from localhost ([::1]:43462 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org>)
	id 1oLpO4-00080v-Mb
	for guile-user@m.gmane-mx.org; Wed, 10 Aug 2022 13:20:56 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54226)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <aconchillo@gmail.com>)
 id 1oLpLp-00080P-50
 for guile-user@gnu.org; Wed, 10 Aug 2022 13:18:37 -0400
Original-Received: from mail-vs1-xe2d.google.com ([2607:f8b0:4864:20::e2d]:45817)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <aconchillo@gmail.com>)
 id 1oLpLn-0002Et-Hy
 for guile-user@gnu.org; Wed, 10 Aug 2022 13:18:36 -0400
Original-Received: by mail-vs1-xe2d.google.com with SMTP id m67so15791459vsc.12
 for <guile-user@gnu.org>; Wed, 10 Aug 2022 10:18:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc;
 bh=RXKZYvZ3ssysBW8woB2i7XGaAefbjQp1uLDYwflsZZI=;
 b=mFmpqo7NhmHqj3nTjMPMsOA88dRzC4ibjTiaIETSQ/ppJTvwGSIKZT+J4FnN7txt/A
 IolFOLxXQBZZNSKhMoDXJ/UKEnCcarRXpAsYjP5u1JdfGAYL0V1RArJE10Dn5gEej5CP
 j/KyD9Nu+Ph3YzkgcCAif+er7VwgYwlZfU4+tQBq3mb7AIHJ4hTwk3/+pJG32zBxONR/
 5VzoJa9+x3uq3LsQIPatixPwMDboORi6O/5x1ykw9BCbvbJS40pWSReGyGOQrOHyUzNG
 hpOuSZKlCY3FV3XqRsBFAiFS2znhCo/80WOB/0psXF/YDp3SUitLbYudtEEm088VkwL5
 n3eQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc;
 bh=RXKZYvZ3ssysBW8woB2i7XGaAefbjQp1uLDYwflsZZI=;
 b=7Qk7XB+0BMc2ZBKbiZDW9QnP/3eOmrctfvrtWq6Ok7AtjZDEvnHNAKyJF1hnc6teHr
 MrcwdT02/1Ia7usa6lM3IwN8KqEBUPEIvEIPVYlwDzC/YoffQcUuZGx8hDo1G4lK6qMk
 rnK8g6gVk+/kWygW4fVHOFC9SPqjphM6ScK5XVJuZHEtur2qLDx7LZxqDHcXKWfEPmMP
 HmxND/ar5JwOuBlBjhDs/O9NMwtwLxonEb3anLyLzxvvYkiDvmk0x0YKLi8Vy2zhFlkh
 7g2F+SCS86gGFHPIUsUOMcA7AgdKGGm6xUtTkXpm4B7ipc8vjKfvIysIZ+jtsN5GFV4Y
 tTHg==
X-Gm-Message-State: ACgBeo0xjbuHNoVbOgruwF6OpKNDf+FY7i3jpkkE+ZD1GQeAAvUkMyqz
 VqXhKibxvZQ+XCgIPSxN+o797DxjpAxyONst9yl36G4j
X-Google-Smtp-Source: AA6agR72KT7n8LW67vmgzsD5mE5dRHhfZgHXWoXJUlGnFqNfVIPHOnenni/RIXi+HFx/yBjttPRzU8RnJA5IoEbkvKE=
X-Received: by 2002:a67:e0cf:0:b0:386:d6fc:cf19 with SMTP id
 m15-20020a67e0cf000000b00386d6fccf19mr11843547vsl.49.1660151908281; Wed, 10
 Aug 2022 10:18:28 -0700 (PDT)
In-Reply-To: <CAJ=RwfaMCwbON8HhuUdGWpEbOcSz_faK4ibiu+FN2ikNMJEkMQ@mail.gmail.com>
Received-SPF: pass client-ip=2607:f8b0:4864:20::e2d;
 envelope-from=aconchillo@gmail.com; helo=mail-vs1-xe2d.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: guile-user@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Guile related discussions <guile-user.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guile-user>,
 <mailto:guile-user-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guile-user>
List-Post: <mailto:guile-user@gnu.org>
List-Help: <mailto:guile-user-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guile-user>,
 <mailto:guile-user-request@gnu.org?subject=subscribe>
Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org
Original-Sender: "guile-user" <guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.lisp.guile.user:18518
Archived-At: <http://permalink.gmane.org/gmane.lisp.guile.user/18518>

Same, also to not have to add an additional dependency.

A bit offtopic, but in guile-oauth someone suggested to pass an http
request procedure to one of the functions (use guile's http-request by
default) so internally guile-oauth would use whatever the user passed, if
anything. I think that's a good and flexible idea if you build libraries.

Aleix

On Wed, Aug 10, 2022 at 7:03 AM Thompson, David <dthompson2@worcester.edu>
wrote:

> Hi James,
>
> For whatever it's worth, I prefer Guile's built-in web modules, especially
> now that they can handle https.
>
> - Dave
>
> On Wed, Aug 10, 2022 at 4:41 AM James Crake-Merani <james@jamescm.co.uk>
> wrote:
>
> > Hi,
> >
> > I'm just curious as to which library people prefer. I know Guile comes
> > with its web libraries that let you make HTTP requests, but I'm also
> aware
> > that libcurl has bindings for Guile. Do you prefer the former, or the
> > latter? Or are there any other libraries that do HTTP requests that I've
> > not heard of?
> >
> > Thanks.
> >
> >
>