guile-user
[Top][All Lists]
Advanced

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

Re: http-request procedure missing or not exported from web client


From: Zelphir Kaltstahl
Subject: Re: http-request procedure missing or not exported from web client
Date: Wed, 14 Nov 2018 00:04:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

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
> <address@hidden>:
>> 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



reply via email to

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