- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 812 for Req (0.17 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/ioctl_unsigned.go
func IoctlGetInt(fd int, req uint) (int, error) { var value int err := ioctlPtr(fd, req, unsafe.Pointer(&value)) return value, err } func IoctlGetWinsize(fd int, req uint) (*Winsize, error) { var value Winsize err := ioctlPtr(fd, req, unsafe.Pointer(&value)) return &value, err } func IoctlGetTermios(fd int, req uint) (*Termios, error) { var value Termios err := ioctlPtr(fd, req, unsafe.Pointer(&value))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 2.3K bytes - Viewed (0) -
pilot/pkg/xds/debug.go
func (s *DiscoveryServer) endpointShardz(w http.ResponseWriter, req *http.Request) { writeJSON(w, s.Env.EndpointIndex.Shardz(), req) } func (s *DiscoveryServer) cachez(w http.ResponseWriter, req *http.Request) { if err := req.ParseForm(); err != nil { w.WriteHeader(http.StatusBadRequest) _, _ = w.Write([]byte("Failed to parse request\n")) return } if req.Form.Get("clear") != "" { s.Cache.ClearAll()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 39.5K bytes - Viewed (0) -
src/net/http/cgi/host.go
func (h *Handler) ServeHTTP(rw http.ResponseWriter, req *http.Request) { if len(req.TransferEncoding) > 0 && req.TransferEncoding[0] == "chunked" { rw.WriteHeader(http.StatusBadRequest) rw.Write([]byte("Chunked request bodies are not supported by CGI.")) return } root := strings.TrimRight(h.Root, "/") pathInfo := strings.TrimPrefix(req.URL.Path, root) port := "80" if req.TLS != nil { port = "443" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 20:46:32 UTC 2024 - 10.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/wrap.go
runtime.HandleErrorWithContext(req.Context(), nil, "Timeout or abort while handling", "method", req.Method, "URI", req.RequestURI, "auditID", audit.GetAuditIDTruncated(req.Context())) return } http.Error(w, "This request caused apiserver to panic. Look in the logs for details.", http.StatusInternalServerError)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 3.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/gencerts.sh
openssl genrsa -out caKeyInter.pem 2048 openssl req -new -nodes -key caKeyInter.pem -days 100000 -out caCertInter.csr -subj "/CN=${CN_BASE}_intermediate_ca" openssl x509 -req -in caCertInter.csr -CA caCert.pem -CAkey caKey.pem -CAcreateserial -out caCertInter.pem -days 100000 -extensions v3_ca -extfile intermediate_ca.conf # Create an intermediate certificate authority with sha1 signature
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 25 15:57:40 UTC 2022 - 5.7K bytes - Viewed (0) -
src/net/http/fcgi/child.go
// response implements http.ResponseWriter. type response struct { req *request header http.Header code int wroteHeader bool wroteCGIHeader bool w *bufWriter } func newResponse(c *child, req *request) *response { return &response{ req: req, header: http.Header{}, w: newWriter(c.conn, typeStdout, req.reqId), } } func (r *response) Header() http.Header {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 10.3K bytes - Viewed (0) -
cmd/auth-handler_test.go
req := mustNewRequest(method, urlStr, contentLength, body, t) req.Header.Set("Content-Md5", "invalid-digest") cred := globalActiveCred if err := signRequestV4(req, cred.AccessKey, cred.SecretKey); err != nil { t.Fatalf("Unable to initialized new signed http request %s", err) } return req }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.4K bytes - Viewed (0) -
src/net/http/httptest/httptest.go
if method == "" { method = "GET" } req, err := http.ReadRequest(bufio.NewReader(strings.NewReader(method + " " + target + " HTTP/1.0\r\n\r\n"))) if err != nil { panic("invalid NewRequest arguments; " + err.Error()) } req = req.WithContext(ctx) // HTTP/1.0 was used above to avoid needing a Host field. Change it to 1.1 here. req.Proto = "HTTP/1.1" req.ProtoMinor = 1 req.Close = false if body != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 18:09:14 UTC 2024 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery.go
func (r *groupDiscoveryHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { pathParts := splitPath(req.URL.Path) // only match /apis/<group> if len(pathParts) != 2 || pathParts[0] != "apis" { r.delegate.ServeHTTP(w, req) return } discovery, ok := r.getDiscovery(pathParts[1]) if !ok { r.delegate.ServeHTTP(w, req) return } discovery.ServeHTTP(w, req) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 10:06:31 UTC 2017 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/request_deadline.go
return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { ctx := req.Context() requestInfo, ok := request.RequestInfoFrom(ctx) if !ok { handleError(w, req, http.StatusInternalServerError, nil, "no RequestInfo found in context, handler chain must be wrong") return } if longRunning(req, requestInfo) { handler.ServeHTTP(w, req) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 05 21:12:12 UTC 2024 - 6.6K bytes - Viewed (0)