Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 67 for RawQuery (0.2 sec)

  1. cmd/object-lambda-handlers.go

    	u, err := clnt.PresignHeader(r.Context(), http.MethodGet, bucket, object, duration, reqParams, extraHeaders)
    	if err != nil {
    		return levent.Event{}, err
    	}
    
    	token, err := authenticateNode(cred.AccessKey, cred.SecretKey, u.RawQuery)
    	if err != nil {
    		return levent.Event{}, err
    	}
    
    	eventData := levent.Event{
    		GetObjectContext: &levent.GetObjectContext{
    			InputS3URL:  u.String(),
    			OutputRoute: shortuuid.New(),
    			OutputToken: token,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/negotiation/negotiate.go

    func isPrettyPrint(req *http.Request) bool {
    	// DEPRECATED: should be part of the content type
    	if req.URL != nil {
    		// avoid an allocation caused by parsing the URL query
    		if strings.Contains(req.URL.RawQuery, "pretty") {
    			pp := req.URL.Query().Get("pretty")
    			if len(pp) > 0 {
    				pretty, _ := strconv.ParseBool(pp)
    				return pretty
    			}
    		}
    	}
    	userAgent := req.UserAgent()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 10 10:53:34 UTC 2019
    - 9.5K bytes
    - Viewed (0)
  3. src/cmd/pprof/pprof.go

    				duration = time.Duration(us) * time.Second
    			}
    		}
    	}
    	if timeout <= 0 {
    		if duration > 0 {
    			timeout = duration + duration/2
    		} else {
    			timeout = 60 * time.Second
    		}
    	}
    	u.RawQuery = values.Encode()
    	return u.String(), timeout
    }
    
    // objTool implements driver.ObjTool using Go libraries
    // (instead of invoking GNU binutils).
    type objTool struct {
    	mu          sync.Mutex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. pkg/serviceaccount/openidmetadata.go

    	iss, err := url.Parse(issuerURL)
    	if err != nil {
    		return nil, err
    	}
    	if iss.Scheme != "https" {
    		return nil, fmt.Errorf("issuer URL must use https scheme, got: %s", issuerURL)
    	}
    	if iss.RawQuery != "" {
    		return nil, fmt.Errorf("issuer URL may not include a query, got: %s", issuerURL)
    	}
    	if iss.Fragment != "" {
    		return nil, fmt.Errorf("issuer URL may not include a fragment, got: %s", issuerURL)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 12 00:23:31 UTC 2020
    - 9.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/config.go

    		}
    		if q.Get(f.urlparam) == v {
    			continue
    		}
    		changed = true
    		if v == "" {
    			q.Del(f.urlparam)
    		} else {
    			q.Set(f.urlparam, v)
    		}
    	}
    	if changed {
    		initialURL.RawQuery = q.Encode()
    	}
    	return initialURL, changed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. src/net/http/cgi/host.go

    	}
    
    	env := []string{
    		"SERVER_SOFTWARE=go",
    		"SERVER_PROTOCOL=HTTP/1.1",
    		"HTTP_HOST=" + req.Host,
    		"GATEWAY_INTERFACE=CGI/1.1",
    		"REQUEST_METHOD=" + req.Method,
    		"QUERY_STRING=" + req.URL.RawQuery,
    		"REQUEST_URI=" + req.URL.RequestURI(),
    		"PATH_INFO=" + pathInfo,
    		"SCRIPT_NAME=" + root,
    		"SCRIPT_FILENAME=" + h.Path,
    		"SERVER_PORT=" + port,
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. internal/config/identity/plugin/config.go

    	}
    
    	if roleArn != o.args.RoleARN {
    		return AuthNResponse{}, fmt.Errorf("Invalid role ARN value: %s", roleArn.String())
    	}
    
    	u := url.URL(*o.args.URL)
    	q := u.Query()
    	q.Set("token", token)
    	u.RawQuery = q.Encode()
    
    	ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
    	defer cancel()
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, u.String(), nil)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. cmd/common-main.go

    			}
    			// Look for if URL has invalid values and return error.
    			if !((u.Scheme == "http" || u.Scheme == "https") &&
    				u.Opaque == "" &&
    				!u.ForceQuery && u.RawQuery == "" && u.Fragment == "") {
    				err := fmt.Errorf("URL contains unexpected resources, expected URL to be one of http(s)://console.example.com or as a subpath via API endpoint http(s)://minio.example.com/minio format: %v", u)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler.go

    	}
    
    	// write a new location based on the existing request pointed at the target service
    	location := &url.URL{}
    	location.Scheme = "https"
    	location.Host = host
    	location.Path = req.URL.Path
    	location.RawQuery = req.URL.Query().Encode()
    
    	newReq, cancelFn := apiserverproxyutil.NewRequestForProxy(location, req)
    	newReq.Header.Add(PeerProxiedHeader, "true")
    	defer cancelFn()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. pkg/controller/resourcequota/resource_quota_controller_test.go

    	func() {
    		f.lock.Lock()
    		defer f.lock.Unlock()
    
    		f.actions = append(f.actions, fakeAction{method: request.Method, path: request.URL.Path, query: request.URL.RawQuery})
    		fakeResponse, ok := f.response[request.Method+request.URL.Path]
    		if !ok {
    			fakeResponse.statusCode = 200
    			fakeResponse.content = []byte("{\"kind\": \"List\"}")
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 16:29:33 UTC 2023
    - 42.6K bytes
    - Viewed (0)
Back to top