guile-user
[Top][All Lists]
Advanced

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

can't get http-get w/ accept header working


From: Matt Wette
Subject: can't get http-get w/ accept header working
Date: Wed, 26 Jan 2022 11:46:27 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

Hi All,

Does someone have example of using the Accept header with http-get?

I'm basically calling
    (http-get url #:headers (list auth (parse-header 'accept "*/*") ...)

and getting back error from web/request.scm:
    (validate-headers (((*/*)) ... )

header name not a symbol (*/*)

Thanks,
Matt



reply via email to

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