Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DumpRequestOut (0.23 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
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K 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
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top