Commit Briefs

Omar Polo

http: fmt


Omar Polo

http: move listen to its own file



Omar Polo

rename client -> connection

use consistently `conn' as local variable name


Omar Polo

http: remove http::error, callbacks now return io::error only

Having http::error being io::error plus badrequest was just a hack. There's no need to expose the private error type.


Omar Polo

http: remove debug logging



Omar Polo

http: introduce a reswriter; change API accordingly

since it uses a bufio::stream it is limited to 1024 bytes of response, an auto-resizing implementation will follow...


Omar Polo

http: don't chunk if it is disabled

HTTP/1.0 doesn't support chunking


Omar Polo

http: add the other methods


Omar Polo

import http module

Still very WIP and the current API will be subject to changes, but it's enough to be imported in the main tree.