- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for copyURL (0.04 seconds)
-
internal/handlers/forwarder.go
} } return u } // copyURL provides update safe copy by avoiding shallow copying User field func copyURL(i *url.URL) *url.URL { out := *i if i.User != nil { u := *i.User out.User = &u } return &out } // Modify the request to handle the target URL func (f *Forwarder) modifyRequest(outReq *http.Request, target *url.URL) { outReq.URL = copyURL(outReq.URL) outReq.URL.Scheme = target.SchemeCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5.7K bytes - Click Count (0)