- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 266 for Req (0.04 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authn_audit.go
ev.ResponseStatus.Message = getAuthMethods(req) ev.Stage = auditinternal.StageResponseStarted rw := decorateResponseWriter(req.Context(), w, ev, sink, ac.RequestAuditConfig.OmitStages) failedHandler.ServeHTTP(rw, req) }) } func getAuthMethods(req *http.Request) string { authMethods := []string{} if _, _, ok := req.BasicAuth(); ok { authMethods = append(authMethods, "basic") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java
} public String getVirtualHostKey() { return LaRequestUtil.getOptionalRequest().map(req -> (String) req.getAttribute(FessConfig.VIRTUAL_HOST_VALUE)).orElseGet(() -> { final String value = processVirtualHost(s -> s, StringUtil.EMPTY); LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(FessConfig.VIRTUAL_HOST_VALUE, value)); return value; }); }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/waitgroup.go
return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { ctx := req.Context() requestInfo, ok := apirequest.RequestInfoFrom(ctx) if !ok { // if this happens, the handler chain isn't setup correctly because there is no request info responsewriters.InternalError(w, req, errors.New("no RequestInfo found in the context")) return } if longRunning(req, requestInfo) { handler.ServeHTTP(w, req) return
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jan 10 21:18:55 UTC 2023 - 3.7K bytes - Viewed (0) -
cmd/erasure-common.go
return errDiskNotFound } return disks[index].ReadMultiple(ctx, req, resps[index]) }, index) } dataArray := make([]ReadMultipleResp, 0, len(req.Files)) // Merge results. They should come in order from each. for _, wantFile := range req.Files { quorum := 0 toAdd := ReadMultipleResp{ Bucket: req.Bucket, Prefix: req.Prefix, File: wantFile, } for i := range resps {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0) -
tests/testdata/certs/generate.sh
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 05 19:49:21 UTC 2023 - 7.8K bytes - Viewed (0) -
src/cmd/go/internal/vcweb/insecure.go
func (h *insecureHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { if req.Host == "" && req.URL.Host == "" { http.Error(w, "no Host provided in request", http.StatusBadRequest) return } // Note that if the handler is wrapped with http.StripPrefix, the prefix // will remain stripped in the redirected URL, preventing redirect loops // if the scheme is already "http". u := *req.URL u.Scheme = "http" u.User = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 13:22:22 UTC 2022 - 1.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator.go
} } func (h *StreamTranslatorHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { // Create WebSocket server, including particular streams requested. If this websocket // endpoint is not able to be upgraded, the websocket library will return errors // to the client. websocketStreams, err := webSocketServerStreams(req, w, h.Options) if err != nil { // Client error increments bad request status code.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 23:21:55 UTC 2024 - 6.7K bytes - Viewed (0) -
tools/certs/Makefile.selfsigned.mk
root-ca: root-key.pem root-cert.pem root-cert.pem: root-cert.csr root-key.pem @echo "generating $@" @openssl x509 -req -sha256 -days $(ROOTCA_DAYS) -signkey root-key.pem \ -extensions req_ext -extfile root-ca.conf \ -in $< -out $@ root-cert.csr: root-key.pem root-ca.conf @echo "generating $@" @openssl req -sha256 -new -key $< -config root-ca.conf -out $@ root-key.pem: @echo "generating $@" @openssl genrsa -out $@ 4096
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 28 19:49:09 UTC 2022 - 3.1K bytes - Viewed (0) -
cmd/signature-v2_test.go
if errCode != testCase.expected { t.Errorf("(%d) expected to get %s, instead got %s", i, niceError(testCase.expected), niceError(errCode)) } } else { err = preSignV2(req, accessKey, secretKey, now.Unix()+60) if err != nil { t.Fatalf("(%d) failed to preSignV2 http request, got %v", i, err) } // Should be set since we are simulating a http server. req.RequestURI = req.URL.RequestURI()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Oct 14 10:08:40 UTC 2022 - 8K bytes - Viewed (0)