Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for RawQuery (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics_test.go

    			url: &url.URL{
    				RawQuery: "fieldValidation=Ignore",
    			},
    			expectedFieldValidation: "Ignore",
    		},
    		{
    			name: "warn field validation",
    			url: &url.URL{
    				RawQuery: "fieldValidation=Warn",
    			},
    			expectedFieldValidation: "Warn",
    		},
    		{
    			name: "strict field validation",
    			url: &url.URL{
    				RawQuery: "fieldValidation=Strict",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/watch_test.go

    		dest.Path = item.path
    		dest.RawQuery = item.rawQuery
    		resp, err := http.Get(dest.String())
    		if err != nil {
    			t.Errorf("%v: unexpected error: %v", item.rawQuery, err)
    			continue
    		}
    		resp.Body.Close()
    		if e, a := item.namespace, simpleStorage.requestedResourceNamespace; e != a {
    			t.Errorf("%v: expected %v, got %v", item.rawQuery, e, a)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 30 17:27:39 UTC 2023
    - 30K bytes
    - Viewed (0)
  3. src/net/http/httputil/reverseproxy.go

    	targetQuery := target.RawQuery
    	req.URL.Scheme = target.Scheme
    	req.URL.Host = target.Host
    	req.URL.Path, req.URL.RawPath = joinURLPath(target, req.URL)
    	if targetQuery == "" || req.URL.RawQuery == "" {
    		req.URL.RawQuery = targetQuery + req.URL.RawQuery
    	} else {
    		req.URL.RawQuery = targetQuery + "&" + req.URL.RawQuery
    	}
    }
    
    func copyHeader(dst, src http.Header) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 23:37:42 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. src/net/url/url.go

    		return &url
    	}
    	if ref.Opaque != "" {
    		url.User = nil
    		url.Host = ""
    		url.Path = ""
    		return &url
    	}
    	if ref.Path == "" && !ref.ForceQuery && ref.RawQuery == "" {
    		url.RawQuery = u.RawQuery
    		if ref.Fragment == "" {
    			url.Fragment = u.Fragment
    			url.RawFragment = u.RawFragment
    		}
    	}
    	if ref.Path == "" && u.Opaque != "" {
    		url.Opaque = u.Opaque
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  5. cmd/kubelet/app/server_bootstrap_test.go

    			{Type: certapi.CertificateApproved},
    		}
    		s.csr = csr
    
    	case req.Method == "GET" && req.URL.Path == "/apis/certificates.k8s.io/v1/certificatesigningrequests" && (req.URL.RawQuery == "fieldSelector=metadata.name%3Dtest-csr&limit=500&resourceVersion=0" || req.URL.RawQuery == "fieldSelector=metadata.name%3Dtest-csr"):
    		if s.csr == nil {
    			t.Fatalf("no csr")
    		}
    		csr := s.csr.DeepCopy()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  6. platforms/software/resources/src/main/java/org/gradle/internal/resource/ExternalResourceName.java

            }
            return parent.getPath();
        }
    
        private static String extractQuery(URI uri) {
            String rawQuery = uri.getRawQuery();
            if (rawQuery == null) {
                return "";
            }
            return "?" + rawQuery;
        }
    
        private static String encodeRoot(URI uri) {
            //based on reversing the operations performed by URI.toString()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker_test.go

    	"net/url"
    	"testing"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apiserver/pkg/endpoints/request"
    )
    
    func httpRequest(method, path, rawQuery string) *http.Request {
    	return &http.Request{
    		Method: method,
    		URL: &url.URL{
    			Path:     path,
    			RawQuery: rawQuery,
    		},
    	}
    }
    
    func newWatchIdentifier(apiGroup, resource, namespace, name string) *watchIdentifier {
    	return &watchIdentifier{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 03 14:02:51 UTC 2021
    - 10.4K bytes
    - Viewed (0)
  8. cmd/auth-handler_test.go

    		},
    		// Test case - 4
    		// Check for presigned.
    		{
    			req: &http.Request{
    				URL: &url.URL{
    					Host:     "127.0.0.1:9000",
    					Scheme:   httpScheme,
    					Path:     SlashSeparator,
    					RawQuery: "X-Amz-Credential=EXAMPLEINVALIDEXAMPL%2Fs3%2F20160314%2Fus-east-1",
    				},
    			},
    			authT: authTypePresigned,
    		},
    		// Test case - 5
    		// Check for post policy.
    		{
    			req: &http.Request{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware.go

    	// Note: Keep this code after tryUpgrade to not break that flow.
    	if len(path) == 0 && (method == http.MethodGet || method == http.MethodHead) {
    		var queryPart string
    		if len(req.URL.RawQuery) > 0 {
    			queryPart = "?" + req.URL.RawQuery
    		}
    		w.Header().Set("Location", req.URL.Path+"/"+queryPart)
    		w.WriteHeader(http.StatusMovedPermanently)
    		redirect = true
    	}
    	return redirect
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. cmd/signature-v4.go

    //	<HashedPayload>
    func getCanonicalRequest(extractedSignedHeaders http.Header, payload, queryStr, urlPath, method string) string {
    	rawQuery := strings.ReplaceAll(queryStr, "+", "%20")
    	encodedPath := s3utils.EncodePath(urlPath)
    	canonicalRequest := strings.Join([]string{
    		method,
    		encodedPath,
    		rawQuery,
    		getCanonicalHeaders(extractedSignedHeaders),
    		getSignedHeaders(extractedSignedHeaders),
    		payload,
    	}, "\n")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top