Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 125 for respCh (0.18 sec)

  1. src/main/java/jcifs/http/NtlmSsp.java

                }
            }
            else {
                resp.setHeader("WWW-Authenticate", "NTLM");
            }
            resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
            resp.setContentLength(0);
            resp.flushBuffer();
            return null;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.7K bytes
    - Viewed (0)
  2. cmd/object-lambda-handlers.go

    			w.Header()[k[len(trim):]] = v
    		}
    	}
    }
    
    func fwdStatusToAPIError(resp *http.Response) *APIError {
    	if status := resp.Header.Get(xhttp.AmzFwdStatus); status != "" && StatusCode(status) > -1 {
    		apiErr := &APIError{
    			HTTPStatusCode: StatusCode(status),
    			Description:    resp.Header.Get(xhttp.AmzFwdErrorMessage),
    			Code:           resp.Header.Get(xhttp.AmzFwdErrorCode),
    		}
    		if apiErr.HTTPStatusCode == http.StatusOK {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Sep 15 04:58:17 GMT 2023
    - 10.2K bytes
    - Viewed (1)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

        @Override
        public T initResponse ( CIFSContext tc ) {
            T resp = createResponse(tc, this);
            if ( resp == null ) {
                return null;
            }
            resp.setDigest(getDigest());
            setResponse(resp);
    
            ServerMessageBlock2 n = getNext();
            if ( n instanceof ServerMessageBlock2Request<?> ) {
                resp.setNext( ( (ServerMessageBlock2Request<?>) n ).initResponse(tc));
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.2K bytes
    - Viewed (0)
  4. internal/config/subnet/subnet.go

    		Timeout:   10 * time.Second,
    		Transport: c.transport,
    	}
    
    	resp, err := client.Do(r)
    	if err != nil {
    		return "", err
    	}
    	defer xhttp.DrainBody(resp.Body)
    
    	respBytes, err := io.ReadAll(io.LimitReader(resp.Body, respBodyLimit))
    	if err != nil {
    		return "", err
    	}
    	respStr := string(respBytes)
    
    	if resp.StatusCode == http.StatusOK {
    		return respStr, nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 27 16:35:36 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmHttpFilter.java

                    }
                    resp.setHeader("WWW-Authenticate", "NTLM");
                    if ( offerBasic ) {
                        resp.addHeader("WWW-Authenticate", "Basic realm=\"" + this.realm + "\"");
                    }
                    resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
                    resp.setContentLength(0); /* Marcel Feb-15-2005 */
                    resp.flushBuffer();
                    return null;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  6. internal/grid/trace.go

    			},
    			RespInfo: madmin.TraceResponseInfo{
    				Time:       end,
    				Headers:    nil,
    				StatusCode: status,
    				Body:       []byte(bytesOrLength(resp)),
    			},
    			CallStats: madmin.TraceCallStats{
    				InputBytes:      len(req),
    				OutputBytes:     len(resp),
    				TimeToFirstByte: end.Sub(start),
    			},
    		},
    	}
    	// If the context contains a TraceParamsKey, add it to the trace path.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 22:54:54 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. internal/grid/grid_test.go

    	}()
    	var n int
    	err = stream.Results(func(resp *testResponse) error {
    		// t.Logf("got resp: %+v", *resp.Msg)
    		const wantString = testPayload + testPayload
    		if resp.OrgString != testPayload+testPayload {
    			t.Errorf("want %q, got %q", wantString, resp.OrgString)
    		}
    		if resp.OrgNum != n+1 {
    			t.Errorf("want %d, got %d", n+1, resp.OrgNum)
    		}
    		handler.PutResponse(resp)
    		n++
    		return nil
    	})
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/compare/comparator.go

    	c := &Comparator{}
    	for _, resp := range istiodResponses {
    		if len(resp.Resources) > 0 {
    			c.istiod = &configdump.Wrapper{
    				ConfigDump: &admin.ConfigDump{
    					Configs: resp.Resources,
    				},
    			}
    			break
    		}
    	}
    	if c.istiod == nil {
    		return nil, fmt.Errorf("unable to find config dump in Istiod responses")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  9. cni/pkg/plugin/cnieventclient_test.go

    			IP: fakeIP,
    		},
    		Gateway: fakeGW,
    	}
    )
    
    func TestPushCNIAddEventSucceed(t *testing.T) {
    	// Fake out a test HTTP server and use that instead of a real HTTP server over gRPC to validate  req/resp flows
    	testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
    		res.WriteHeader(http.StatusOK)
    		res.Write([]byte("server happy"))
    	}))
    	defer func() { testServer.Close() }()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

            ServerMessageBlock2Response resp = (ServerMessageBlock2Response) response;
            synchronized ( resp ) {
                if ( resp.isAsync() && !resp.isAsyncHandled() && resp.getStatus() == NtStatus.NT_STATUS_PENDING && resp.getAsyncId() != 0 ) {
                    resp.setAsyncHandled(true);
                    boolean first = !req.isAsync();
                    req.setAsyncId(resp.getAsyncId());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
Back to top