Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for MimeTypes (0.06 seconds)

  1. internal/config/compress/compress.go

    		}
    		cfg.MimeTypes = mimeTypes
    	}
    
    	if compressMimeTypesLegacy2 != "" {
    		mimeTypes, err := parseCompressIncludes(compressMimeTypesLegacy2)
    		if err != nil {
    			return cfg, fmt.Errorf("%s: Invalid MINIO_COMPRESS_MIME_TYPES value (`%s`)", err, mimeTypes)
    		}
    		cfg.MimeTypes = mimeTypes
    	}
    
    	return cfg, nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Sep 06 17:37:10 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. internal/config/compress/legacy.go

    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   Extensions,
    			Value: strings.Join(cfg.Extensions, config.ValueSeparator),
    		},
    		config.KV{
    			Key:   MimeTypes,
    			Value: strings.Join(cfg.MimeTypes, config.ValueSeparator),
    		},
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Sep 06 17:37:10 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  3. 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`,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 1.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            final String[] mimeTypes = { "application/pdf", "application/msword",
                    "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "text/html", "text/plain", "application/json",
                    "application/xml", "audio/mp3", "video/mp4", "application/postscript" };
    
            for (final String mimeType : mimeTypes) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default boolean isHtmlMimetypeForCache(final String mimetype) {
            final String[] mimetypes = getCrawlerDocumentCacheHtmlMimetypes().split(",");
            if (mimetypes.length == 1 && StringUtil.isBlank(mimetypes[0])) {
                return true;
            }
            return stream(mimetypes).get(stream -> stream.anyMatch(s -> s.equalsIgnoreCase(mimetype)));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  6. cmd/object_api_suite_test.go

    	}
    }
    
    func enableCompression(t *testing.T, encrypt bool, mimeTypes []string, extensions []string) {
    	// Enable compression and exec...
    	globalCompressConfigMu.Lock()
    	globalCompressConfig.Enabled = true
    	globalCompressConfig.MimeTypes = mimeTypes
    	globalCompressConfig.Extensions = extensions
    	globalCompressConfig.AllowEncrypted = encrypt
    	globalCompressConfigMu.Unlock()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  7. cmd/config-migrate.go

    	switch cfg.Version {
    	case "29":
    		// V29 -> V30
    		cfg.Compression.Enabled = false
    		cfg.Compression.Extensions = strings.Split(compress.DefaultExtensions, config.ValueSeparator)
    		cfg.Compression.MimeTypes = strings.Split(compress.DefaultMimeTypes, config.ValueSeparator)
    	case "30":
    		// V30 -> V31
    		cfg.OpenID = openid.Config{}
    		cfg.Policy.OPA = opa.Args{
    			URL:       &xnet.URL{},
    			AuthToken: "",
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. cmd/object-api-utils.go

    	// Filter compression includes.
    	if len(cfg.Extensions) == 0 && len(cfg.MimeTypes) == 0 {
    		// Nothing to filter, include everything.
    		return false
    	}
    
    	if len(cfg.Extensions) > 0 && hasStringSuffixInSlice(objStr, cfg.Extensions) {
    		// Matched an extension to compress, do not exclude.
    		return false
    	}
    
    	if len(cfg.MimeTypes) > 0 && hasPattern(cfg.MimeTypes, contentType) {
    		// Matched an MIME type to compress, do not exclude.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  9. src/main/resources/fess_config.properties

    crawler.document.cache.enabled=true
    # Maximum size (bytes) for document cache.
    crawler.document.cache.max.size=2621440
    # Supported MIME types for document cache.
    crawler.document.cache.supported.mimetypes=text/html
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /** The key of the configuration. e.g. text/html */
        String CRAWLER_DOCUMENT_CACHE_SUPPORTED_MIMETYPES = "crawler.document.cache.supported.mimetypes";
    
        /** The key of the configuration. e.g. text/html */
        String CRAWLER_DOCUMENT_CACHE_HTML_MIMETYPES = "crawler.document.cache.html.mimetypes";
    
        /** The key of the configuration. e.g.  */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 576.9K bytes
    - Click Count (2)
Back to Top