Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DumpRequestOut (0.43 sec)

  1. internal/rest/client.go

    	origAuth := req.Header.Get("Authorization")
    	if origAuth != "" {
    		req.Header.Set("Authorization", "**REDACTED**")
    	}
    
    	// Only display request header.
    	reqTrace, err := httputil.DumpRequestOut(req, false)
    	if err != nil {
    		return
    	}
    
    	// Write request to trace output.
    	_, err = fmt.Fprint(c.TraceOutput, string(reqTrace))
    	if err != nil {
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg net/http/httptest, type Server struct, TLS *tls.Config
    pkg net/http/httptest, type Server struct, URL string
    pkg net/http/httputil, func DumpRequest(*http.Request, bool) ([]uint8, error)
    pkg net/http/httputil, func DumpRequestOut(*http.Request, bool) ([]uint8, error)
    pkg net/http/httputil, func DumpResponse(*http.Response, bool) ([]uint8, error)
    pkg net/http/httputil, func NewChunkedReader(io.Reader) io.Reader
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top