diff --git a/net/http/do.ha b/net/http/do.ha index 9347fe7..f787f09 100644 --- a/net/http/do.ha +++ b/net/http/do.ha @@ -29,17 +29,12 @@ export fn do(client: *client, req: *request) (response | error) = { uri::fmt(&file, &target)?; fmt::fprintf(&file, " HTTP/1.1\r\n")?; - // TODO: Handle Content-Length and Transfer-Encoding chunked/gzip - // properly - write_header(&file, &req.header)?; fmt::fprintf(&file, "\r\n")?; bufio::flush(&file)?; match (req.body) { case let body: io::handle => - // Copy to conn directly so we can use sendfile(2) if - // appropriate io::copy(conn, body)?; case void => yield;