Re: HTTP Request/Response questions

2012-01-09 Thread Andy Wingo
On Sun 06 Nov 2011 12:18, Ian Price writes: > I have a patch to deal with this, but I have not received any > feedback on my proposed functions, so I haven't posted it > yet. Basically, I wanted to add 4 functions, including a > read-chunked-response-body, and to have the (web client) handle > ch

Re: HTTP Request/Response questions

2011-11-08 Thread Ian Price
Thien-Thi Nguyen writes: > SRFI 13 ‘string-index’ takes a character-set object as well as a predicate. > Going that way could be more efficient (if you pre-construct the charset). I'll make sure to try it out, but I'm don't think it would make much of a difference. -- Ian Price "Programming is

Re: HTTP Request/Response questions

2011-11-07 Thread Thien-Thi Nguyen
() Ian Price () Sun, 06 Nov 2011 21:04:31 + If you use the web modules, _please_ comment on my suggestions for chunked encoding support. See I don't use those modules (yet?), but i did notice something: + (extension-start (string-index str (lambda (c) (or (char=? c #\;)

Re: HTTP Request/Response questions

2011-11-06 Thread Ian Price
"R. P. Dillon" writes: > (http-get (string->uri "http://www.cnn.com";)) > > yields: > > web/client.scm:109:4: In procedure http-get: > web/client.scm:109:4: Throw to key `bad-response' with args `("EOF while > reading response body: ~a bytes of ~a" (18576 106274))'. > > In web/client.scm: >     1

Re: HTTP Request/Response questions

2011-11-06 Thread R. P. Dillon
Thanks for your response, Ian. I don't know how I missed the (web client) module, but it's right there in my info page. I've been experimenting with it, but am having similar problem to those outlined below. I'm going to start reading some of the code, but my initial impression is that there's l

Re: HTTP Request/Response questions

2011-11-06 Thread Ian Price
"R. P. Dillon" writes: > I'm currently working on a project to gather RSS data using Guile.  I've been I've done that. I highly recommend sxpath for this job. > working with both the stable 2.0.3 version and the latest git repository.  I'm > fairly new to Guile, though, so I might be approaching

HTTP Request/Response questions

2011-11-05 Thread R. P. Dillon
I'm currently working on a project to gather RSS data using Guile. I've been working with both the stable 2.0.3 version and the latest git repository. I'm fairly new to Guile, though, so I might be approaching this the wrong way. As a test, I wanted to make an HTTP request. This is a series of