--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No, curl does not do auto-unchunking. It prints the stream as it is received.You can see the chunk size (a2) is printed before each chunk below:cenk@tardis ~ (master) $ curl -i http://localhost:4001/v2/keys/a\?wait\=true\&stream\=trueHTTP/1.1 200 OKContent-Type: application/jsonX-Etcd-Index: 869X-Raft-Index: 7160X-Raft-Term: 23Date: Thu, 09 Jan 2014 19:12:22 GMTTransfer-Encoding: chunkeda2{"action":"set","node":{"key":"/a","value":"1","modifiedIndex":870,"createdIndex":870},"prevNode":{"key":"/a","value":"1","modifiedIndex":869,"createdIndex":869}}a2{"action":"set","node":{"key":"/a","value":"1","modifiedIndex":871,"createdIndex":871},"prevNode":{"key":"/a","value":"1","modifiedIndex":870,"createdIndex":870}}a2{"action":"set","node":{"key":"/a","value":"1","modifiedIndex":872,"createdIndex":872},"prevNode":{"key":"/a","value":"1","modifiedIndex":871,"createdIndex":871}}
No, curl does not do auto-unchunking. It prints the stream as it is received.You can see the chunk size (a2) is printed before each chunk below: