* http-request procedure missing or not exported from web client
@ 2018-11-13 21:50 Zelphir Kaltstahl
2018-11-13 22:57 ` Thomas Morley
2018-11-14 3:20 ` Mark H Weaver
0 siblings, 2 replies; 4+ messages in thread
From: Zelphir Kaltstahl @ 2018-11-13 21:50 UTC (permalink / raw)
To: guile-user
Hi!
I recently noticed, that the procedure ~http-request~
(https://www.gnu.org/software/guile/manual/html_node/Web-Client.html)
does not seem to be available when I do:
~~~
(use-modules (web client))
(http-request ...)
~~~
However, the specialised procedures like ~http-get~ are available.
Are the docs wrong or is my Guile (2.2.3) too old or did I misunderstand
the docs?
Regards,
Zelphir
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: http-request procedure missing or not exported from web client
2018-11-13 21:50 http-request procedure missing or not exported from web client Zelphir Kaltstahl
@ 2018-11-13 22:57 ` Thomas Morley
2018-11-13 23:04 ` Zelphir Kaltstahl
2018-11-14 3:20 ` Mark H Weaver
1 sibling, 1 reply; 4+ messages in thread
From: Thomas Morley @ 2018-11-13 22:57 UTC (permalink / raw)
To: zelphirkaltstahl; +Cc: guile-user
Am Di., 13. Nov. 2018 um 22:50 Uhr schrieb Zelphir Kaltstahl
<zelphirkaltstahl@gmail.com>:
>
> Hi!
>
> I recently noticed, that the procedure ~http-request~
> (https://www.gnu.org/software/guile/manual/html_node/Web-Client.html)
> does not seem to be available when I do:
>
> ~~~
>
> (use-modules (web client))
> (http-request ...)
>
> ~~~
>
> However, the specialised procedures like ~http-get~ are available.
>
> Are the docs wrong or is my Guile (2.2.3) too old or did I misunderstand
> the docs?
>
> Regards,
>
> Zelphir
>
FWIW, doing in a guile-prompt with guile-2.2.4:
$ ./guile/meta/guile
GNU Guile 2.2.4.9-71f536
Copyright (C) 1995-2017 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> (use-modules (web client))
scheme@(guile-user)> http-request
$1 = #<procedure http-request (uri #:key body port method version
keep-alive? headers decode-body? streaming? request)>
Don't have 2.2.3 any more, though.
Cheers,
Harm
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: http-request procedure missing or not exported from web client
2018-11-13 22:57 ` Thomas Morley
@ 2018-11-13 23:04 ` Zelphir Kaltstahl
0 siblings, 0 replies; 4+ messages in thread
From: Zelphir Kaltstahl @ 2018-11-13 23:04 UTC (permalink / raw)
To: Thomas Morley; +Cc: guile-user
Thank you! I will probably update soon then : )
On 13.11.18 23:57, Thomas Morley wrote:
> Am Di., 13. Nov. 2018 um 22:50 Uhr schrieb Zelphir Kaltstahl
> <zelphirkaltstahl@gmail.com>:
>> Hi!
>>
>> I recently noticed, that the procedure ~http-request~
>> (https://www.gnu.org/software/guile/manual/html_node/Web-Client.html)
>> does not seem to be available when I do:
>>
>> ~~~
>>
>> (use-modules (web client))
>> (http-request ...)
>>
>> ~~~
>>
>> However, the specialised procedures like ~http-get~ are available.
>>
>> Are the docs wrong or is my Guile (2.2.3) too old or did I misunderstand
>> the docs?
>>
>> Regards,
>>
>> Zelphir
>>
> FWIW, doing in a guile-prompt with guile-2.2.4:
>
> $ ./guile/meta/guile
> GNU Guile 2.2.4.9-71f536
> Copyright (C) 1995-2017 Free Software Foundation, Inc.
>
> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
> This program is free software, and you are welcome to redistribute it
> under certain conditions; type `,show c' for details.
>
> Enter `,help' for help.
> scheme@(guile-user)> (use-modules (web client))
> scheme@(guile-user)> http-request
> $1 = #<procedure http-request (uri #:key body port method version
> keep-alive? headers decode-body? streaming? request)>
>
> Don't have 2.2.3 any more, though.
>
> Cheers,
> Harm
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: http-request procedure missing or not exported from web client
2018-11-13 21:50 http-request procedure missing or not exported from web client Zelphir Kaltstahl
2018-11-13 22:57 ` Thomas Morley
@ 2018-11-14 3:20 ` Mark H Weaver
1 sibling, 0 replies; 4+ messages in thread
From: Mark H Weaver @ 2018-11-14 3:20 UTC (permalink / raw)
To: Zelphir Kaltstahl; +Cc: guile-user
Zelphir Kaltstahl <zelphirkaltstahl@gmail.com> writes:
> I recently noticed, that the procedure ~http-request~
> (https://www.gnu.org/software/guile/manual/html_node/Web-Client.html)
> does not seem to be available when I do:
>
> ~~~
>
> (use-modules (web client))
> (http-request ...)
>
> ~~~
>
> However, the specialised procedures like ~http-get~ are available.
>
> Are the docs wrong or is my Guile (2.2.3) too old or did I misunderstand
> the docs?
Guile-2.2.4 is the first version to export 'http-request'.
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-11-14 3:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-13 21:50 http-request procedure missing or not exported from web client Zelphir Kaltstahl
2018-11-13 22:57 ` Thomas Morley
2018-11-13 23:04 ` Zelphir Kaltstahl
2018-11-14 3:20 ` Mark H Weaver
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).