Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 381 for mime (0.22 sec)

  1. internal/config/compress/legacy.go

    	// These envs were wrong but we supported them for a long time
    	// so keep them here to support existing deployments.
    	EnvCompressAllowEncryptionLegacy = "MINIO_COMPRESS_ALLOW_ENCRYPTION"
    	EnvCompressExtensionsLegacy      = "MINIO_COMPRESS_EXTENSIONS"
    	EnvCompressMimeTypesLegacy2      = "MINIO_COMPRESS_MIME_TYPES"
    )
    
    // SetCompressionConfig - One time migration code needed, for migrating from older config to new for Compression.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  2. internal/config/compress/help.go

    			Description: `comma separated file extensions` + defaultHelpPostfix(Extensions),
    			Optional:    true,
    			Type:        "csv",
    		},
    		config.HelpKV{
    			Key:         MimeTypes,
    			Description: `comma separated wildcard mime-types` + defaultHelpPostfix(MimeTypes),
    			Optional:    true,
    			Type:        "csv",
    		},
    		config.HelpKV{
    			Key:         AllowEncrypted,
    			Description: `enable 'encryption' along with compression`,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  3. internal/config/errors.go

    		"",
    	)
    
    	ErrInvalidCompressionIncludesValue = newErrFn(
    		"Invalid compression include value",
    		"Please check the passed value",
    		"Compress extensions/mime-types are delimited by `,`. For eg, MINIO_COMPRESS_MIME_TYPES=\"A,B,C\"",
    	)
    
    	ErrInvalidReplicationWorkersValue = newErrFn(
    		"Invalid value for replication workers",
    		"",
    		"MINIO_API_REPLICATION_WORKERS: should be > 0",
    	)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. internal/config/compress/compress.go

    	AllowEncrypted bool     `json:"allow_encryption"`
    	Extensions     []string `json:"extensions"`
    	MimeTypes      []string `json:"mime-types"`
    }
    
    // Compression environment variables
    const (
    	Extensions     = "extensions"
    	AllowEncrypted = "allow_encryption"
    	MimeTypes      = "mime_types"
    
    	EnvCompressState           = "MINIO_COMPRESSION_ENABLE"
    	EnvCompressAllowEncryption = "MINIO_COMPRESSION_ALLOW_ENCRYPTION"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 5K bytes
    - Viewed (0)
  5. cmd/s3-zip-handlers.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"io"
    	"mime"
    	"net/http"
    	"path/filepath"
    	"sort"
    	"strings"
    
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/crypto"
    	xhttp "github.com/minio/minio/internal/http"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. misc/go_android_exec/main.go

    	defer adb("exec-out", "rm", "-rf", deviceGotmp) // Clean up.
    
    	// Determine the package by examining the current working
    	// directory, which will look something like
    	// "$GOROOT/src/mime/multipart" or "$GOPATH/src/golang.org/x/mobile".
    	// We extract everything after the $GOROOT or $GOPATH to run on the
    	// same relative directory on the target device.
    	importPath, isStd, modPath, modDir, err := pkgPath()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  7. cmd/generic-handlers.go

    func parseAmzDateHeader(req *http.Request) (time.Time, APIErrorCode) {
    	for _, amzDateHeader := range amzDateHeaders {
    		amzDateStr := req.Header.Get(amzDateHeader)
    		if amzDateStr != "" {
    			t, err := amztime.Parse(amzDateStr)
    			if err != nil {
    				return time.Time{}, ErrMalformedDate
    			}
    			return t, ErrNone
    		}
    	}
    	// Date header missing.
    	return time.Time{}, ErrMissingDateHeader
    }
    
    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)
  8. internal/config/subnet/subnet.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package subnet
    
    import (
    	"bytes"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"mime/multipart"
    	"net/http"
    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    const (
    	respBodyLimit = 1 << 20 // 1 MiB
    
    	// LoggerWebhookName - subnet logger webhook target
    	LoggerWebhookName = "subnet"
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 27 16:35:36 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  9. cmd/auth-handler.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/subtle"
    	"encoding/base64"
    	"encoding/hex"
    	"errors"
    	"io"
    	"mime"
    	"net/http"
    	"net/url"
    	"strconv"
    	"strings"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/minio/internal/auth"
    	objectlock "github.com/minio/minio/internal/bucket/object/lock"
    	"github.com/minio/minio/internal/etag"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  10. cmd/object-api-datatypes.go

    	Name string
    
    	// Date and time when the bucket was created.
    	Created time.Time
    	Deleted time.Time
    
    	// Bucket features enabled
    	Versioning, ObjectLocking bool
    }
    
    // ObjectInfo - represents object metadata.
    type ObjectInfo struct {
    	// Name of the bucket.
    	Bucket string
    
    	// Name of the object.
    	Name string
    
    	// Date and time when the object was last modified.
    	ModTime time.Time
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
Back to top