luvit/luvit — pull request #236 by Kami (2012-06-06 07:08:32+00:00)
Title: Make sure chunk is a string.

if you don't send any data with the request it till throw an error because internally `write` gets called without a chunk argument.

```
(-2) Runtime error: /modules/http.lua:466: attempt to get length of local 'chunk' (a nil value)
```