Commits


http: add a listen that takes an ip address I'm still not convinced this is better than http::listen("localhost:9090", null) but propagating net::dial::dial errors from a listen function is weird.


http: reswriter_flush: don't send end marker unless chunked


set the utf8 bit for the stupid browsers


http: fmt


http: move listen to its own file


un-uglify the route re-entering


http: save the replied code in the reswriter struct


http: fix reswriter_write() return value we "wrote" only len(buf) bytes. Also, since res.dst is a dynstream no short writes can happen.


http: correct/improve README


adapt to http api


http: move mux to its own file; allow to specify the mux per listen


rename client -> connection use consistently `conn' as local variable name


http: add illimitate buffering


http: add a README file


adapt to http api change