Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for RawQuery (0.12 sec)

  1. 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)
  2. src/net/http/httputil/reverseproxy_test.go

    	for _, test := range []struct {
    		rawQuery   string
    		cleanQuery string
    	}{{
    		rawQuery:   "a=1&a=2;b=3",
    		cleanQuery: "a=1",
    	}, {
    		rawQuery:   "a=1&a=%zz&b=3",
    		cleanQuery: "a=1&b=3",
    	}} {
    		res, err := frontend.Client().Get(frontend.URL + "?" + test.rawQuery)
    		if err != nil {
    			t.Fatalf("Get: %v", err)
    		}
    		defer res.Body.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	signingKey := getSigningKey(secretAccessKey, date, region, serviceS3)
    	signature := getSignature(signingKey, stringToSign)
    
    	req.URL.RawQuery = query.Encode()
    
    	// Add signature header to RawQuery.
    	req.URL.RawQuery += "&X-Amz-Signature=" + url.QueryEscape(signature)
    
    	// Construct the final presigned URL.
    	return nil
    }
    
    // preSignV2 - presign the request in following style.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  4. src/net/http/request.go

    	//
    	// For server requests, the URL is parsed from the URI
    	// supplied on the Request-Line as stored in RequestURI.  For
    	// most requests, fields other than Path and RawQuery will be
    	// empty. (See RFC 7230, Section 5.3)
    	//
    	// For client requests, the URL's Host specifies the server to
    	// connect to, while the Request's Host field optionally
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    			GroupVersion:         corev1GV,
    			NegotiatedSerializer: scheme.Codecs.WithoutConversion(),
    			Client: fake.CreateHTTPClient(func(req *http.Request) (*http.Response, error) {
    				p := req.URL.Path
    				q := req.URL.RawQuery
    				if len(q) != 0 {
    					p = p + "?" + q
    				}
    				body, ok := data[p]
    				if !ok {
    					t.Fatalf("%s: unexpected request: %s (%s)\n%#v", testName, p, req.URL, req)
    				}
    				header := http.Header{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    	if redirectURL != nil { // success_action_redirect is valid and set.
    		v := redirectURL.Query()
    		v.Add("bucket", objInfo.Bucket)
    		v.Add("key", objInfo.Name)
    		v.Add("etag", "\""+objInfo.ETag+"\"")
    		redirectURL.RawQuery = v.Encode()
    		writeRedirectSeeOther(w, redirectURL.String())
    		return
    	}
    
    	// Add checksum header.
    	if checksum != nil && checksum.Valid() {
    		hash.AddChecksumHeader(w, checksum.AsMap())
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  7. pkg/registry/core/pod/strategy_test.go

    					NodeName: "node1",
    				},
    			},
    			info:        &client.ConnectionInfo{},
    			opts:        &api.PodPortForwardOptions{Ports: []int32{80}},
    			expectedURL: &url.URL{Host: ":", Path: "/portForward/ns/pod1", RawQuery: "port=80"},
    		},
    	}
    	for _, tc := range tcs {
    		getter := &mockPodGetter{tc.in}
    		connectionGetter := &mockConnectionInfoGetter{tc.info}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
Back to top