func DumpRequest(req *retryablehttp.Request) (string, error) {
	dump, err := httputil.DumpRequestOut(req.Request, true)
	return string(dump), err
}
DumpRequest to string
package httputilz
import (
	"bufio"
	"fmt"
	"io/ioutil"
	"net/http"
	"net/http/httputil"
	"net/url"
	"strings"
	"github.com/projectdiscovery/retryablehttp-go"
)
const (
	headerParts  = 2
	requestParts = 3
)