bug#13857: Unhandled case in module/web/response.scm

2013-03-10 Thread Andy Wingo
On Sat 09 Mar 2013 23:59, Jason Earl writes: > That did not work for me. [I]s it possible that you mean something > like this? Indeed -- good catch! Thank you for the report, patch, and testing :-) commit 84dfde82ae8f6ec247c1c147c1e2ae50b207bad9 Author: Jason Earl Date: Sun Mar 10 19:23:31

bug#13857: Unhandled case in module/web/response.scm

2013-03-09 Thread Daniel Hartwig
On 10 March 2013 06:59, Jason Earl wrote: > On Sat, Mar 09 2013, Andy Wingo wrote: > >> On Sat 09 Mar 2013 02:27, Daniel Hartwig writes: >> >>> It is anyway clear that ‘response-body-port’ is missing the case where >>> a content-length header is not present and the body is terminated by >>> the s

bug#13857: Unhandled case in module/web/response.scm

2013-03-09 Thread Jason Earl
On Sat, Mar 09 2013, Andy Wingo wrote: > On Sat 09 Mar 2013 02:27, Daniel Hartwig writes: > >> It is anyway clear that ‘response-body-port’ is missing the case where >> a content-length header is not present and the body is terminated by >> the server closing the port. Some additional care needs

bug#13857: Unhandled case in module/web/response.scm

2013-03-09 Thread Andy Wingo
On Sat 09 Mar 2013 02:27, Daniel Hartwig writes: > It is anyway clear that ‘response-body-port’ is missing the case where > a content-length header is not present and the body is terminated by > the server closing the port. Some additional care needs to be taken, > e.g. ‘#:keep-alive?’ is incomp

bug#13857: Unhandled case in module/web/response.scm

2013-03-08 Thread Daniel Hartwig
On 3 March 2013 12:55, Jason Earl wrote: > On Sat, Mar 02 2013, Daniel Hartwig wrote: > >> Hello >> >> Which version of guile are you using? Is it from recent git? There >> are perhaps related fixes to the web modules made since January. > > Dang it. I knew that there was stuff that I had forgo

bug#13857: Unhandled case in module/web/response.scm

2013-03-05 Thread Jason Earl
On Sat, Mar 02 2013, Daniel Hartwig wrote: > Hello > > Which version of guile are you using? Is it from recent git? There > are perhaps related fixes to the web modules made since January. Dang it. I knew that there was stuff that I had forgotten to mention. I am using the head of the stable-2

bug#13857: Unhandled case in module/web/response.scm

2013-03-05 Thread Jason Earl
On Sat, Mar 02 2013, Daniel Hartwig wrote: > Hello > > Which version of guile are you using? Is it from recent git? There > are perhaps related fixes to the web modules made since January. Dang it. I knew that there was stuff that I had forgotten to mention. I am using the head of the stable-2

bug#13857: Unhandled case in module/web/response.scm

2013-03-02 Thread Daniel Hartwig
Hello Which version of guile are you using? Is it from recent git? There are perhaps related fixes to the web modules made since January. On 2 March 2013 15:21, Jason Earl wrote: > > response.scm does not seem to handle the case where the server does not > specify a content length. Here's a m

bug#13857: Unhandled case in module/web/response.scm

2013-03-02 Thread Jason Earl
response.scm does not seem to handle the case where the server does not specify a content length. Here's a minimal example that should work, but doesn't: --8<---cut here---start->8--- #!/usr/local/bin/guile -s !# (use-modules (srfi srfi-8) ((web