diff --git a/request.go b/request.go index 03ea062..32cd1ab 100644 --- a/request.go +++ b/request.go @@ -21,7 +21,6 @@ type Request struct { Host string // Certificate specifies the TLS certificate to use for the request. - // Request certificates take precedence over client certificates. // // On the server side, if the client provided a certificate then // Certificate.Leaf is guaranteed to be non-nil. diff --git a/response.go b/response.go index e603e3b..2d7cd7b 100644 --- a/response.go +++ b/response.go @@ -13,7 +13,7 @@ type Response struct { Status Status // Meta contains more information related to the response status. - // For successful responses, Meta should contain the mimetype of the response. + // For successful responses, Meta should contain the media type of the response. // For failure responses, Meta should contain a short description of the failure. // Meta should not be longer than 1024 bytes. Meta string @@ -115,7 +115,7 @@ func (b *readCloserBody) Read(p []byte) (n int, err error) { return b.ReadCloser.Read(p) } -// ResponseWriter is used by a Gemini handler to construct a Gemini response. +// ResponseWriter is used to construct a Gemini response. type ResponseWriter struct { b *bufio.Writer status Status