Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 812 for Req (0.07 sec)

  1. 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)
  2. 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)
  3. tests/testdata/certs/generate.sh

    # Create a server certificate
    openssl genrsa -out "${WD}/pilot/key.pem" 2048
    openssl req -new -sha256 -key "${WD}/pilot/key.pem" -out "${WD}/server.csr" -subj "/CN=istiod.istio-system.svc.cluster.local" -config "${WD}/server.conf"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 05 19:49:21 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. 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)
  5. staging/src/k8s.io/apiserver/pkg/server/filters/timeout_test.go

    		return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    			req = req.WithContext(ctx)
    			handler.ServeHTTP(w, req)
    		})
    	}
    
    	handler := newHandler(sendResponse, doPanic, writeErrors)
    	ts := httptest.NewServer(withDeadline(withPanicRecovery(
    		WithTimeout(handler, func(req *http.Request) (*http.Request, bool, func(), *apierrors.StatusError) {
    			return req, false, record.Record, timeoutErr
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go

    		mediaType  string
    		out        []byte
    		outErrs    []error
    		req        *http.Request
    		statusCode int
    		object     runtime.Object
    
    		wantCode    int
    		wantHeaders http.Header
    	}
    	newTest := func() test {
    		return test{
    			name:      "compress on gzip",
    			out:       largePayload,
    			mediaType: "application/json",
    			req: &http.Request{
    				Header: http.Header{
    					"Accept-Encoding": []string{"gzip"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz_test.go

    	// scenario 2: close the channel that will cause the readyz checker to report success,
    	//             verify that hasBeenReadyFn was called
    	close(readyzCh)
    	rr = httptest.NewRecorder()
    	req = req.Clone(context.TODO())
    	mux.ServeHTTP(rr, req)
    	if rr.Code != http.StatusOK {
    		t.Errorf("scenario 2: unexpected status code returned, expected %d, got %d", http.StatusOK, rr.Code)
    	}
    	if hasBeenReadyCounter != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 20:43:16 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  8. 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)
  9. src/net/http/httputil/dump_test.go

    			req := ti.Req
    			if req == nil {
    				req = ti.GetReq()
    			}
    
    			if req.Header == nil {
    				req.Header = make(http.Header)
    			}
    
    			if ti.Body == nil {
    				return req
    			}
    			switch b := ti.Body.(type) {
    			case []byte:
    				req.Body = io.NopCloser(bytes.NewReader(b))
    			case func() io.ReadCloser:
    				req.Body = b()
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 17:34:07 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  10. security/pkg/pki/testdata/multilevelpki/ecc-certs.sh

    openssl req -new -key ecc-root-key.pem -out ecc-root-cert.csr -sha256 <<EOF
    US
    California
    Sunnyvale
    Istio
    Test
    Root CA
    ******@****.***
    
    
    EOF
    openssl x509 -req -days 3650 -in ecc-root-cert.csr -sha256 -signkey ecc-root-key.pem -out ecc-root-cert.pem
    
    # Intermediate CA
    #openssl ecparam -genkey -name prime256v1 -out ecc-int-key.pem -noout
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 16 19:54:33 UTC 2020
    - 2K bytes
    - Viewed (0)
Back to top