bug-guile
[Top][All Lists]
Advanced

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

bug#30154: [PATCH] web: Export http-request.


From: Ludovic Courtès
Subject: bug#30154: [PATCH] web: Export http-request.
Date: Sat, 23 Jun 2018 23:31:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello Arun,

Arun Isaac <address@hidden> skribis:

> * module/web/client.scm (request): Rename to http-request, add a
> docstring, and export it.
> (http-get, http-head, http-post, http-put, http-delete, http-trace,
> http-options): Update docstring.
> * doc/ref/web.texi (Web Client): Document http-request.

Awesome!  Applied with the tiny changes below.

Thank you,
Ludo’.

diff --git a/doc/ref/web.texi b/doc/ref/web.texi
index e99907fe3..62b25d889 100644
--- a/doc/ref/web.texi
+++ b/doc/ref/web.texi
@@ -1,6 +1,6 @@
 @c -*-texinfo-*-
 @c This is part of the GNU Guile Reference Manual.
address@hidden Copyright (C) 2010, 2011, 2012, 2013, 2015 Free Software 
Foundation, Inc.
address@hidden Copyright (C) 2010, 2011, 2012, 2013, 2015, 2018 Free Software 
Foundation, Inc.
 @c See the file guile.texi for copying conditions.
 
 @node Web
@@ -1467,7 +1467,7 @@ how to install the GnuTLS bindings for Guile,, 
gnutls-guile,
 GnuTLS-Guile}, for more information.
 @end deffn
 
address@hidden@deffn {Scheme Procedure} http-request uri arg...
address@hidden@deffn {Scheme Procedure} http-request @var{uri} @address@hidden
 
 Connect to the server corresponding to @var{uri} and make a request over
 HTTP, using @var{method} (@code{GET}, @code{HEAD}, @code{POST}, etc.).
@@ -1516,22 +1516,21 @@ body as a string, bytevector, #f value, or as a port (if
 @var{streaming?} is true).
 @end deffn
 
address@hidden {Scheme Procedure} http-get uri arg...
address@hidden {Scheme Procedure} http-head uri arg...
address@hidden {Scheme Procedure} http-post uri arg...
address@hidden {Scheme Procedure} http-put uri arg...
address@hidden {Scheme Procedure} http-delete uri arg...
address@hidden {Scheme Procedure} http-trace uri arg...
address@hidden {Scheme Procedure} http-options uri arg...
-
address@hidden {Scheme Procedure} http-get @var{uri} @address@hidden
address@hidden {Scheme Procedure} http-head @var{uri} @address@hidden
address@hidden {Scheme Procedure} http-post @var{uri} @address@hidden
address@hidden {Scheme Procedure} http-put @var{uri} @address@hidden
address@hidden {Scheme Procedure} http-delete @var{uri} @address@hidden
address@hidden {Scheme Procedure} http-trace @var{uri} @address@hidden
address@hidden {Scheme Procedure} http-options @var{uri} @address@hidden
 Connect to the server corresponding to @var{uri} and make a request over
 HTTP, using the appropriate method (@code{GET}, @code{HEAD},
 @code{POST}, etc.).
 
 These procedures are variants of @code{http-request} specialized with a
 specific @var{method} argument, and have the same prototype: a URI
-followed by an optional sequence of keyword arguments.  See
address@hidden for full documentation on the various keyword
+followed by an optional sequence of keyword arguments.
address@hidden, for full documentation on the various keyword
 arguments.
 
 @end deffn

reply via email to

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