prow/cmd/deck/main.go
func dupeRequest(original *http.Request) *http.Request {
	r2 := new(http.Request)
	*r2 = *original
	r2.URL = new(url.URL)
	*r2.URL = *original.URL
	return r2
}
func dupeRequest(original *http.Request) *http.Request {
	r2 := new(http.Request)
	*r2 = *original
	r2.URL = new(url.URL)
	*r2.URL = *original.URL
	return r2
}
func dupeRequest ( original * http . Request ) * http . Request { r2 := new ( http . Request ) * r2 = * original r2 . URL = new ( url . URL ) * r2 . URL = * original . URL return r2 }
// copy a http.Request
// see: https://go-review.googlesource.com/c/go/+/36483/3/src/net/http/server.go
copy a http . Request see : https : // go - review . googlesource . com / c / go / + / 36483 / 3 / src / net / http / server . go