Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for modifyRequest (0.07 sec)

  1. internal/handlers/forwarder.go

    	outReq := new(http.Request)
    	*outReq = *inReq // includes shallow copies of maps, but we handle this in Director
    
    	revproxy := httputil.ReverseProxy{
    		Director: func(req *http.Request) {
    			f.modifyRequest(req, inReq.URL)
    		},
    		BufferPool:    newBufPool(128 << 10),
    		Transport:     f.RoundTripper,
    		FlushInterval: defaultFlushInterval,
    		ErrorHandler:  f.customErrHandler,
    	}
    
    	if f.ErrorHandler != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 07 05:42:10 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top