mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 04:45:27 +00:00
Misc
This commit is contained in:
parent
72e9a7283a
commit
a8102e0495
@ -18,6 +18,8 @@ import (
|
||||
//
|
||||
// It preserves the order in which responses were given to requests
|
||||
// and returns the data to the user for matching and viewing in that order.
|
||||
//
|
||||
// Inspired from - https://github.com/ffuf/ffuf/issues/324#issuecomment-719858923
|
||||
func dumpResponseWithRedirectChain(resp *http.Response, body []byte) ([]byte, error) {
|
||||
redirectChain := &bytes.Buffer{}
|
||||
redirectResp := resp.Request.Response
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user