diff --git a/modules/http_proxy_js_response.go b/modules/http_proxy_js_response.go index ea372e99..5816ad3b 100644 --- a/modules/http_proxy_js_response.go +++ b/modules/http_proxy_js_response.go @@ -100,7 +100,7 @@ func (j *JSResponse) ReadBody() string { j.Body = string(raw) j.bodyRead = true - // reset the request body to the original unread state + // reset the response body to the original unread state j.resp.Body = ioutil.NopCloser(bytes.NewBuffer(raw)) return j.Body