diff --git a/client.go b/client.go index f64f371..f210f71 100644 --- a/client.go +++ b/client.go @@ -106,7 +106,6 @@ func (c *Client) Do(req *Request) (*Response, error) { } func (c *Client) do(conn *tls.Conn, req *Request) (*Response, error) { - // Write the request w := bufio.NewWriter(conn) diff --git a/fs.go b/fs.go index 9f9eade..c0bdc9b 100644 --- a/fs.go +++ b/fs.go @@ -15,7 +15,7 @@ func init() { } // FileServer takes a filesystem and returns a Responder which uses that filesystem. -// The returned Responder sanitizes paths before handling them. +// The returned Responder cleans paths before handling them. // // TODO: Use io/fs.FS when available. func FileServer(fsys FS) Responder { @@ -43,7 +43,7 @@ func (fsh fsHandler) Respond(w *ResponseWriter, r *Request) { // FS represents a filesystem. // -// TODO: Replace with io/fs.FS when available +// TODO: Replace with io/fs.FS when available. type FS interface { Open(name string) (File, error) }