Re: http response: can't read body

2017-10-23 Thread Chris Vine
On Mon, 23 Oct 2017 05:29:54 -0700 Matt Wette wrote: > > On Oct 23, 2017, at 2:36 AM, Chris Vine > > wrote: > > > > On Sun, 22 Oct 2017 15:25:54 -0700 > > Matt Wette wrote: > >> I'm using Guile 2.2.2 web api and I can't get the body. > >> > >> I'm getting a response from (http-get ). > >> T

Re: http response: can't read body

2017-10-23 Thread Matt Wette
> On Oct 23, 2017, at 2:36 AM, Chris Vine wrote: > > On Sun, 22 Oct 2017 15:25:54 -0700 > Matt Wette wrote: >> I'm using Guile 2.2.2 web api and I can't get the body. >> >> I'm getting a response from (http-get ). >> The (response-code resp) is 200. >> The value I get back from (response-body

Re: http response: can't read body

2017-10-23 Thread Chris Vine
On Sun, 22 Oct 2017 15:25:54 -0700 Matt Wette wrote: > I'm using Guile 2.2.2 web api and I can't get the body. > > I'm getting a response from (http-get ). > The (response-code resp) is 200. > The value I get back from (response-body-port resp) says #t for port? > and input-port? > > But if I t

http response: can't read body

2017-10-22 Thread Matt Wette
I'm using Guile 2.2.2 web api and I can't get the body. I'm getting a response from (http-get ). The (response-code resp) is 200. The value I get back from (response-body-port resp) says #t for port? and input-port? But if I try to read-char on the port I get: ERROR: In procedure get-bytevector