Re: List keys, new format, keys=stream

2011-10-20 Thread Mark Steele
Here's a way to properly deal with streaming chunked HTTP encoding... http://www.control-alt-del.org/2011/09/09/streaming-results-from-riak-over-http-in-php/ Just sayin' Mark On Thursday 20 October 2011 12:40:00 Jonathan Langevin wrote: > Thanks Gordon. > > So what is the recommended answe

Re: List keys, new format, keys=stream

2011-10-20 Thread Jonathan Langevin
Perfect, thanks! On Oct 20, 2011 12:48 PM, "Gordon Tillman" wrote: > On Oct 20, 2011, at 11:40 , Jonathan Langevin wrote: > > Thanks Gordon. > > So what is the recommended answer to this? Just skip the empty arrays? > > That is exactly what I am doing with my "dump bucket" code - I have not > not

Re: List keys, new format, keys=stream

2011-10-20 Thread Jonathan Langevin
Thanks Gordon. So what is the recommended answer to this? Just skip the empty arrays? I'm asking, as I'm extending my php client to support streaming, and want to make sure we code for this properly. Thanks! On Oct 20, 2011 12:27 PM, "Gordon Tillman" wrote: > Jonathan that is correct - it is j

List keys, new format, keys=stream

2011-10-20 Thread Jonathan Langevin
If I run a curl request to pull back a list of keys, streamed, the output has multiple empty arrays, like so: $ curl -i http://localhost:8098/buckets/User/keys?keys=stream HTTP/1.1 200 OK Vary: Accept-Encoding Transfer-Encoding: chunked Server: MochiWeb/1.1 WebMachine/1.9.0 (participate in the fra