unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* can't get http-get w/ accept header working
@ 2022-01-26 19:46 Matt Wette
  2022-01-26 20:28 ` Keith Wright
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Wette @ 2022-01-26 19:46 UTC (permalink / raw)
  To: Guile User

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-26 20:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26 19:46 can't get http-get w/ accept header working Matt Wette
2022-01-26 20:28 ` Keith Wright

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).