Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Kass (0.12 sec)

  1. internal/handlers/forwarder.go

    	u := f.getURLFromRequest(outReq)
    
    	outReq.URL.Path = u.Path
    	outReq.URL.RawPath = u.RawPath
    	outReq.URL.RawQuery = u.RawQuery
    	outReq.RequestURI = "" // Outgoing request should not have RequestURI
    
    	// Do not pass client Host header unless requested.
    	if !f.PassHost {
    		outReq.Host = target.Host
    	}
    
    	// TODO: only supports HTTP 1.1 for now.
    	outReq.Proto = "HTTP/1.1"
    	outReq.ProtoMajor = 1
    	outReq.ProtoMinor = 1
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 07 05:42:10 GMT 2023
    - 5.6K bytes
    - Viewed (0)
Back to top