diff --git a/response.go b/response.go index bd2f9d7..65b9f52 100644 --- a/response.go +++ b/response.go @@ -195,7 +195,7 @@ func (r *Response) Into(v interface{}) error { return r.Unmarshal(v) } -// Bytes return the response body as []bytes that hava already been read, could be +// Bytes return the response body as []bytes that have already been read, could be // nil if not read, the following cases are already read: // 1. `Request.SetResult` or `Request.SetError` is called. // 2. `Client.DisableAutoReadResponse` and `Request.DisableAutoReadResponse` is not @@ -204,7 +204,7 @@ func (r *Response) Bytes() []byte { return r.body } -// String returns the response body as string that hava already been read, could be +// String returns the response body as string that have already been read, could be // nil if not read, the following cases are already read: // 1. `Request.SetResult` or `Request.SetError` is called. // 2. `Client.DisableAutoReadResponse` and `Request.DisableAutoReadResponse` is not