Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for MIME (0.16 sec)

  1. cmd/auth-handler.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    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"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  2. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 5K bytes
    - Viewed (0)
  3. docs/compression/README.md

    Config `compress` settings take extensions and mime-types to be compressed.
    
    ```bash
    ~ mc admin config get myminio compression
    compression extensions=".txt,.log,.csv,.json,.tar,.xml,.bin" mime_types="text/*,application/json,application/xml"
    ```
    
    Default config includes most common highly compressible content extensions and mime-types.
    
    ```bash
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  4. cmd/api-response.go

    	}
    	w.Header().Set(xhttp.ContentLength, strconv.Itoa(len(response)))
    	w.WriteHeader(statusCode)
    	if response != nil {
    		w.Write(response)
    	}
    }
    
    // mimeType represents various MIME type used API responses.
    type mimeType string
    
    const (
    	// Means no response type.
    	mimeNone mimeType = ""
    	// Means response type is JSON.
    	mimeJSON mimeType = "application/json"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  5. cmd/post-policy_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/base64"
    	"fmt"
    	"io"
    	"mime/multipart"
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/dustin/go-humanize"
    )
    
    const (
    	iso8601DateFormat = "20060102T150405Z"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  6. cmd/testdata/undeleteable-object.tgz

    llhome":{"_":[{"key":"enable","value":"off"},{"key":"frequency","value":"24h"}]},"compression":{"_":[{"key":"enable","value":"off"},{"key":"allow_encryption","value":"off"},{"key":"extensions","value":".txt,.log,.csv,.json,.tar,.xml,.bin"},{"key":"mime_types","value":"text/*,application/json,application/xml,binary/octet-stream"}]},"crawler":{"_":null},"credentials":{"_":null},"drive":{"_":[{"key":"max_timeout","value":""}]},"etcd":{"_":[{"key":"endpoints","value":""},{"key":"path_prefix","value"...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Viewed (0)
  7. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  8. .github/workflows/multipart/nginx-site1.conf

    user  nginx;
    worker_processes  auto;
    
    error_log  /var/log/nginx/error.log warn;
    pid        /var/run/nginx.pid;
    
    events {
        worker_connections  4096;
    }
    
    http {
        include       /etc/nginx/mime.types;
        default_type  application/octet-stream;
    
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                          '$status $body_bytes_sent "$http_referer" '
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 30 10:13:56 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. internal/config/compress/legacy.go

    	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.
    func SetCompressionConfig(s config.Config, cfg Config) {
    	if !cfg.Enabled {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  10. .github/workflows/multipart/nginx-site2.conf

    user  nginx;
    worker_processes  auto;
    
    error_log  /var/log/nginx/error.log warn;
    pid        /var/run/nginx.pid;
    
    events {
        worker_connections  4096;
    }
    
    http {
        include       /etc/nginx/mime.types;
        default_type  application/octet-stream;
    
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                          '$status $body_bytes_sent "$http_referer" '
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 30 10:13:56 GMT 2023
    - 1.7K bytes
    - Viewed (0)
Back to top