diff --git a/v2/pkg/protocols/http/request.go b/v2/pkg/protocols/http/request.go index e7a845f1..796a249e 100644 --- a/v2/pkg/protocols/http/request.go +++ b/v2/pkg/protocols/http/request.go @@ -534,7 +534,7 @@ func (request *Request) executeRequest(reqURL string, generatedRequest *generate return errors.Wrap(err, "could not read http response with redirect chain") } } else { - dumpedResponse = []redirectedResponse{{fullResponse: dumpedResponseHeaders, headers: dumpedResponseHeaders}} + dumpedResponse = []redirectedResponse{{resp: resp, fullResponse: dumpedResponseHeaders, headers: dumpedResponseHeaders}} } // if nuclei-project is enabled store the response if not previously done