Re: Chunked Encoding

2012-05-07 Thread Thien-Thi Nguyen
() Ian Price () Tue, 08 May 2012 03:27:11 +0100 More importantly, I don't want to add a feature no-one will use, anecdotally, trailers are used rarely if at all, and other languages feel comfortable leaving it out of their standard libraries. Seems a chicken and egg situation; no one

Re: Chunked Encoding

2012-05-07 Thread Daniel Hartwig
On 6 May 2012 12:52, Ian Price wrote: > Well, what I meant is a port that would be layered over the top of > another. Soft ports or custom binary ports would be used to implement > it. (Is there a reason (effiencywise) to prefer one over the other?) > Intuitively I would think custom binary ports

Re: Chunked Encoding

2012-05-07 Thread Ian Price
Thien-Thi Nguyen writes: > () Ian Price > () Sun, 06 May 2012 05:52:00 +0100 > >I think we can leave trailers until I have some actual data on >how much these are actually used in practice, and/or someone >complains about it being missing. WDYT? > > It's not so hard to conform. Tra

Re: Chunked Encoding

2012-05-07 Thread Ian Price
Hello guilers, Here is a more complete patch. I've also attached a patch to export declare-opaque-header!, which I've occasionally found to be useful. -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled" >From

Re: Chunked Encoding

2012-05-06 Thread Thien-Thi Nguyen
() Ian Price () Sun, 06 May 2012 05:52:00 +0100 I think we can leave trailers until I have some actual data on how much these are actually used in practice, and/or someone complains about it being missing. WDYT? It's not so hard to conform. Trailers are just headers in the tail positi

Re: Chunked Encoding

2012-05-06 Thread Ian Price
I've attached the patch. It's not ready for inclusion yet, as it needs more tests, and documentation, but this is the rough idea of what it will be like. It doesn't close the wrapped port, but I think a keyword argument might be the right approach. Thoughts on this, and the patch in general are w

Re: Chunked Encoding

2012-05-05 Thread Ian Price
ccing Daniel Hartwig, since he has been a bigger cheerleader for chunked encoding than I have so far :). Andy Wingo writes: > On_Thu 29 Sep 2011 16:09, Ian Price writes: > >> If you've used the (web ...) modules, you may have noticed that guile >> does not currently support chunked-encoding. S

Re: Chunked Encoding

2012-01-04 Thread Andy Wingo
On Thu 29 Sep 2011 16:09, Ian Price writes: > If you've used the (web ...) modules, you may have noticed that guile > does not currently support chunked-encoding. This is expected in a > HTTP/1.1 world, so I wrote an implementation to cover my immediate > need, but I'm not particularly convinced