Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Wagenet (0.5 sec)

  1. cmd/generic-handlers.go

    	loginPathPrefix = SlashSeparator + "login"
    )
    
    func guessIsBrowserReq(r *http.Request) bool {
    	aType := getRequestAuthType(r)
    	return strings.Contains(r.Header.Get("User-Agent"), "Mozilla") &&
    		globalBrowserEnabled && aType == authTypeAnonymous
    }
    
    func setBrowserRedirectMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  2. internal/logger/target/http/http.go

    	}
    	req.Header.Set(xhttp.MinIOVersion, xhttp.GlobalMinIOVersion)
    	req.Header.Set(xhttp.MinioDeploymentID, xhttp.GlobalDeploymentID)
    
    	// Set user-agent to indicate MinIO release
    	// version to the configured log endpoint
    	req.Header.Set("User-Agent", h.config.UserAgent)
    
    	if h.config.AuthToken != "" {
    		req.Header.Set("Authorization", h.config.AuthToken)
    	}
    
    	resp, err := h.client.Do(req)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  3. docs/logging/README.md

        "Content-Length": "380",
        "Content-Type": "application/octet-stream",
        "User-Agent": "MinIO (linux; amd64) minio-go/v7.0.15 mc/DEVELOPMENT.2021-10-06T23-39-34Z",
        "X-Amz-Content-Sha256": "STREAMING-AWS4-HMAC-SHA256-PAYLOAD",
        "X-Amz-Date": "20211008T004636Z",
        "X-Amz-Decoded-Content-Length": "207",
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  4. cmd/update_test.go

    	t.Setenv("MESOS_CONTAINER_NAME", "mesos-1111")
    	durl = getDownloadURL(minioVersion1)
    	if durl != mesosDeploymentDoc {
    		t.Errorf("Expected %s, got %s", mesosDeploymentDoc, durl)
    	}
    }
    
    // Tests user agent string.
    func TestUserAgent(t *testing.T) {
    	testCases := []struct {
    		envName     string
    		envValue    string
    		mode        string
    		expectedStr string
    	}{
    		{
    			envName:     "",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  5. cmd/server-main.go

    		})
    		logger.FatalIf(err, "Unable to initialize MinIO client")
    	})
    
    	go bootstrapTrace("startResourceMetricsCollection", func() {
    		startResourceMetricsCollection()
    	})
    
    	// Add User-Agent to differentiate the requests.
    	globalMinioClient.SetAppInfo("minio-perf-test", ReleaseTag)
    
    	if serverDebugLog {
    		fmt.Println("== DEBUG Mode enabled ==")
    		fmt.Println("Currently set environment settings:")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  6. cmd/update.go

    	return err != nil
    }
    
    // IsPCFTile returns if server is running in PCF
    func IsPCFTile() bool {
    	return env.Get("MINIO_PCF_TILE_VERSION", "") != ""
    }
    
    // DO NOT CHANGE USER AGENT STYLE.
    // The style should be
    //
    //	MinIO (<OS>; <ARCH>[; <MODE>][; dcos][; kubernetes][; docker][; source]) MinIO/<VERSION> MinIO/<RELEASE-TAG> MinIO/<COMMIT-ID> [MinIO/universe-<PACKAGE-NAME>] [MinIO/helm-<HELM-VERSION>]
    //
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  7. cmd/post-policy_test.go

    	contentTypeHdr := req.Header.Get("Content-Type")
    	contentTypeHdr = strings.Replace(contentTypeHdr, "multipart/form-data", "multipart/form-datA", 1)
    	req.Header.Set("Content-Type", contentTypeHdr)
    	req.Header.Set("User-Agent", "Mozilla")
    
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top