Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 81 for embody (0.21 sec)

  1. cmd/admin-router.go

    	}
    	return gz
    }()
    
    // Set of handler options as bit flags
    type hFlag uint8
    
    const (
    	// this flag disables gzip compression of responses
    	noGZFlag = 1 << iota
    
    	// this flag enables tracing body and headers instead of just headers
    	traceAllFlag
    
    	// pass this flag to skip checking if object layer is available
    	noObjLayerFlag
    )
    
    // Has checks if the given flag is enabled in `h`.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  2. LICENSE

    for making modifications to it.  "Object code" means any non-source
    form of a work.
    
      A "Standard Interface" means an interface that either is an official
    standard defined by a recognized standards body, or, in the case of
    interfaces specified for a particular programming language, one that
    is widely used among developers working in that language.
    
      The "System Libraries" of an executable work include anything, other
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 33.7K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    		Timeout:   10 * time.Second,
    	}
    
    	resp, err := client.Do(req)
    	if err != nil {
    		return err
    	}
    	if err == nil {
    		// Drain the connection.
    		xhttp.DrainBody(resp.Body)
    	}
    	if resp != nil {
    		amzid := resp.Header.Get(xhttp.AmzRequestHostID)
    		if _, ok := globalNodeNamesHex[amzid]; ok {
    			return BucketRemoteIdenticalToSource{
    				Endpoint: epURL.String(),
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  4. cmd/ftp-server.go

    		WelcomeMessage: fmt.Sprintf("Welcome to '%s' FTP Server Version='%s' License='%s'", MinioStoreName, MinioLicense, Version),
    		Driver:         NewFTPDriver(),
    		Port:           port,
    		Perm:           ftp.NewSimplePerm("nobody", "nobody"),
    		TLS:            tls,
    		KeyFile:        tlsPrivateKey,
    		CertFile:       tlsPublicCert,
    		ExplicitFTPS:   tls,
    		Logger:         &minioLogger{},
    		PassivePorts:   portRange,
    		PublicIP:       publicIP,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 4.8K bytes
    - Viewed (2)
  5. docs/sts/README.md

    Following are advantages for using temporary credentials:
    
    - Eliminates the need to embed long-term credentials with an application.
    - Eliminates the need to provide access to buckets and objects without having to define static credentials.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 7.8K bytes
    - Viewed (1)
  6. cmd/admin-handlers.go

    					var errorRespJSON []byte
    					if hr.errBody == "" {
    						errorRespJSON = encodeResponseJSON(getAPIErrorResponse(ctx, hr.apiErr,
    							r.URL.Path, w.Header().Get(xhttp.AmzRequestID),
    							w.Header().Get(xhttp.AmzRequestHostID)))
    					} else {
    						errorRespJSON = encodeResponseJSON(APIErrorResponse{
    							Code:      hr.apiErr.Code,
    							Message:   hr.errBody,
    							Resource:  r.URL.Path,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  7. cmd/metacache-set.go

    					resCh = nil
    					returned = true
    				}
    				continue
    			}
    			results.o = append(results.o, entry)
    		}
    		if resCh != nil {
    			resErr = io.EOF
    			select {
    			case <-ctx.Done():
    				// Nobody wants it.
    			case resCh <- results:
    			}
    		}
    	}()
    	return func() (metaCacheEntriesSorted, error) {
    		select {
    		case <-ctx.Done():
    			mu.Lock()
    			done = true
    			mu.Unlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  8. cmd/utils.go

    // it is used to ignore custom encoding charset in S3 XML body.
    func nopCharsetConverter(label string, input io.Reader) (io.Reader, error) {
    	return input, nil
    }
    
    // xmlDecoder provide decoded value in xml.
    func xmlDecoder(body io.Reader, v interface{}, size int64) error {
    	var lbody io.Reader
    	if size > 0 {
    		lbody = io.LimitReader(body, size)
    	} else {
    		lbody = body
    	}
    	d := xml.NewDecoder(lbody)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. cmd/url_test.go

    package cmd
    
    import (
    	"net/http"
    	"testing"
    )
    
    func BenchmarkURLQueryForm(b *testing.B) {
    	req, err := http.NewRequest(http.MethodGet, "http://localhost:9000/bucket/name?uploadId=upload&partNumber=1", http.NoBody)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// benchmark utility which helps obtain number of allocations and bytes allocated per ops.
    	b.ReportAllocs()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 2K bytes
    - Viewed (0)
  10. docs/auditlog/auditlog-echo.go

    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	body, err := io.ReadAll(r.Body)
    	defer r.Body.Close()
    	if err != nil {
    		log.Printf("Error reading request body: %v", err)
    		w.WriteHeader(http.StatusBadRequest)
    		return
    	}
    
    	log.Printf(">>> %s %s\n", r.Method, r.URL.Path)
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "    ")
    	log.Printf("%s\n", out.String())
    
    	w.WriteHeader(http.StatusOK)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top