gigamonkey/toot — pull request #1 by rayfill (2012-03-30 05:59:42+00:00)
Title: Toot contain POST method problem.

Hi.

Below url code execute.
https://gist.github.com/2235458/024d7fc31f0e5b5b3c258f92e939e81583dc612e

and execute command.
curl --data-binary @binary-file http://localhost:8086/

Toot is report error.

I check it out toot source code. I found few miss code in toot::write-simple-response.

1. with-open-stream craete stream s. but below code use function argument stream.
2. Client contained "Expect: 100-continue" header.
toot is response 100 continue of use write-simple-response and after process.
But write-simple-response is force close socket stream.

I fixed 2 problem this pull request. Please merge or better fix.

Best regards.