- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 514 for res2 (0.04 sec)
-
samples/jwt-server/src/main_test.go
if err != nil { t.Fatalf(err.Error()) } resp, err := httpClient.Do(httpReq) if err != nil { t.Fatalf(err.Error()) } defer resp.Body.Close() if resp.StatusCode != http.StatusOK { t.Fatalf("Expected to get %d, got %d", http.StatusOK, resp.StatusCode) } } func TestJwtHTTPSServer(t *testing.T) { var ( serverKey = "../testdata/server.key"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 23 16:58:02 UTC 2023 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/authenticator/audagnostic_test.go
ctx := context.Background() ctx = WithAudiences(ctx, taudcfg.auds) resp, ok, err := authenticate(ctx, taudcfg.implicitAuds, func() (*Response, bool, error) { if treq.resp != nil { resp := *treq.resp return &resp, treq.authenticated, treq.err } return nil, treq.authenticated, treq.err })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:16 UTC 2023 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmSsp.java
type3.getUser(), challenge, lmResponse, ntResponse); } } else { resp.setHeader("WWW-Authenticate", "NTLM"); } resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED); resp.setContentLength(0); resp.flushBuffer(); return null; }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/rest/response_checker_test.go
limitations under the License. */ package rest import ( "bytes" "fmt" "io/ioutil" "net/http" "reflect" "strings" "testing" "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" ) func TestGenericHttpResponseChecker(t *testing.T) { responseChecker := NewGenericHttpResponseChecker(v1.Resource("pods"), "foo") tests := []struct { resp *http.Response expectError bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 19:04:33 UTC 2018 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.4K bytes - Viewed (0) -
src/net/http/client.go
// here to ensure that it is non-nil. if resp.ContentLength > 0 && req.Method != "HEAD" { return nil, didTimeout, fmt.Errorf("http: RoundTripper implementation (%T) returned a *Response with content length %d but a nil Body", rt, resp.ContentLength) } resp.Body = io.NopCloser(strings.NewReader("")) } if !deadline.IsZero() { resp.Body = &cancelTimerBody{ stop: stopTimer,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 06:06:11 UTC 2024 - 33.7K bytes - Viewed (0) -
src/internal/fuzz/worker.go
dur, cov, errMsg := fuzzOnce(entry) if errMsg != "" { resp.Err = errMsg return resp } if cov != nil { resp.CoverageData = cov resp.InterestingDuration = dur return resp } if shouldStop() { return resp } } } } func (ws *workerServer) minimize(ctx context.Context, args minimizeArgs) (resp minimizeResponse) { start := time.Now()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 37.7K bytes - Viewed (0) -
pkg/istio-agent/xds_proxy.go
case forwardEnvoyCh <- resp: case <-con.stopChan: } }) } else { // Otherwise, forward ECDS resource update directly to Envoy. forwardToEnvoy(con, resp) } default: if strings.HasPrefix(resp.TypeUrl, model.DebugType) { p.forwardToTap(resp) } else { forwardToEnvoy(con, resp) } } case resp := <-forwardEnvoyCh:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 27.9K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
if ( ntlm == null ) { resp.setHeader("WWW-Authenticate", "NTLM"); if ( offerBasic ) { resp.addHeader("WWW-Authenticate", "Basic realm=\"" + this.realm + "\""); } resp.setHeader("Connection", "close"); resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED); resp.flushBuffer(); return; }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 21.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/bearertoken/bearertoken_test.go
t.Errorf("unexpected token: %s", token) } return &authenticator.Response{User: &user.DefaultInfo{Name: "user"}}, true, nil })) resp, ok, err := auth.AuthenticateRequest(&http.Request{ Header: http.Header{"Authorization": []string{"Bearer token"}}, }) if !ok || resp == nil || err != nil { t.Errorf("expected valid user") } } func TestAuthenticateRequestIncludingValueAfterToken(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 25 13:22:28 UTC 2022 - 8.8K bytes - Viewed (0)