Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for RawQuery (0.18 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/servemux121.go

    		return RedirectHandler(u.String(), StatusMovedPermanently), u.Path
    	}
    
    	if path != r.URL.Path {
    		_, pattern = mux.handler(host, path)
    		u := &url.URL{Path: path, RawQuery: r.URL.RawQuery}
    		return RedirectHandler(u.String(), StatusMovedPermanently), pattern
    	}
    
    	return mux.handler(host, r.URL.Path)
    }
    
    // handler is the main implementation of findHandler.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:40:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/net/url/url_test.go

    		&URL{
    			Scheme:   "http",
    			Host:     "www.google.com",
    			Path:     "/",
    			RawQuery: "foo=bar?",
    		},
    		"",
    	},
    	// query
    	{
    		"http://www.google.com/?q=go+language",
    		&URL{
    			Scheme:   "http",
    			Host:     "www.google.com",
    			Path:     "/",
    			RawQuery: "q=go+language",
    		},
    		"",
    	},
    	// query with hex escaping: NOT parsed
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/util/webhook/validation.go

    		}
    		if len(u.Fragment) != 0 {
    			allErrors = append(allErrors, field.Invalid(fldPath, u.Fragment, "fragments are not permitted in the URL"))
    		}
    		if len(u.RawQuery) != 0 {
    			allErrors = append(allErrors, field.Invalid(fldPath, u.RawQuery, "query parameters are not permitted in the URL"))
    		}
    	}
    	return allErrors
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 19 23:14:37 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/vendor/github.com/google/pprof/internal/driver/settings.go

    	for i, cfg := range configs {
    		dst, changed := cfg.config.makeURL(u)
    		if !changed {
    			lastMatch = i
    		}
    		// Use a relative URL to work in presence of stripping/redirects in webui.go.
    		rel := &url.URL{RawQuery: dst.RawQuery, ForceQuery: true}
    		result[i] = configMenuEntry{
    			Name:       cfg.Name,
    			URL:        rel.String(),
    			UserConfig: (i != 0),
    		}
    	}
    	// Mark the last matching config as current
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top