diff --git a/response.go b/response.go index 7f50f61..a8e9902 100644 --- a/response.go +++ b/response.go @@ -202,7 +202,7 @@ func (r *Response) SetBody(body []byte) { } // Set response body with string content -func (r *Response) SetBodyStr(body string) { +func (r *Response) SetBodyString(body string) { r.body = []byte(body) }