Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for DumpResponse (0.55 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

            if (!response.isValid() || context.options().verbose().orElse(false)) {
                dumpResponse(context, "", response);
            }
            return response.isValid();
        }
    
        protected void dumpResponse(EncryptContext context, String indent, SecDispatcher.ValidationResponse response) {
            context.logger.info(messageBuilderFactory
                    .builder()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. internal/config/identity/openid/providercfg.go

    	if resp.StatusCode != http.StatusOK {
    		// uncomment this for debugging when needed.
    		// reqBytes, _ := httputil.DumpRequest(req, false)
    		// fmt.Println(string(reqBytes))
    		// respBytes, _ := httputil.DumpResponse(resp, true)
    		// fmt.Println(string(respBytes))
    		return nil, errors.New(resp.Status)
    	}
    
    	claims := map[string]any{}
    	if err = json.NewDecoder(resp.Body).Decode(&claims); err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Diag.java

            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        public int execute(EncryptContext context) {
            dumpResponse(context, "", secDispatcher.validateConfiguration());
            return OK;
        }
    
        @Override
        protected int doExecute(EncryptContext context) throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 17 09:50:45 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. internal/rest/client.go

    	if resp.StatusCode != http.StatusOK &&
    		resp.StatusCode != http.StatusPartialContent &&
    		resp.StatusCode != http.StatusNoContent {
    		respTrace, err = httputil.DumpResponse(resp, true)
    		if err != nil {
    			return
    		}
    	} else {
    		respTrace, err = httputil.DumpResponse(resp, false)
    		if err != nil {
    			return
    		}
    	}
    
    	// Write response to trace output.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	}
    
    	for k, v := range maliciousHeaders {
    		req.Header.Set(k, v[0])
    	}
    
    	// execute the request.
    	response, err = s.client.Do(req)
    	c.Assert(err, nil)
    
    	// out, err = httputil.DumpResponse(response, true)
    	// fmt.Println("RESPONSE ===\n", string(out), err)
    
    	// assert the http response status code.
    	c.Assert(response.StatusCode, http.StatusBadRequest)
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  6. api/go1.txt

    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
    pkg net/http/httputil, func NewChunkedWriter(io.Writer) io.WriteCloser
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top