Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for mimetype (0.2 sec)

  1. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final String mimeType = responseData.getMimeType();
            if (logger.isDebugEnabled()) {
                logger.debug("mimeType: {}", mimeType);
            }
            if (mimeType == null) {
                response.contentTypeOctetStream();
                return;
            }
            if (mimeType.startsWith("text/")) {
                final String charset = responseData.getCharSet();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

    }
    
    private fun Main.mediaType(): MediaType? {
      val mimeType =
        headers?.let {
          for (header in it) {
            val parts = header.split(':', limit = 2)
            if ("Content-Type".equals(parts[0], ignoreCase = true)) {
              return@let parts[1].trim()
            }
          }
          return@let null
        } ?: "application/x-www-form-urlencoded"
    
      return mimeType.toMediaTypeOrNull()
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
            return buf.toString();
        }
    
        /**
         * Sets the MIME type.
         * @param mimeType The MIME type.
         */
        public void setMimeType(final String mimeType) {
            this.mimeType = mimeType;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

                    case FessConfig.INDEX_FIELD_FILETYPE:
                        return "filetype";
                    case FessConfig.INDEX_FIELD_FILENAME:
                        return "filename";
                    case FessConfig.INDEX_FIELD_THUMBNAIL:
                        return "thumbnail";
                    case FessConfig.INDEX_FIELD_MIMETYPE:
                        return "mimetype";
    
                    // Crawler settings
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  5. src/main/resources/fess_indices/_cloud/fess/doc.json

          },
          "filetype": {
            "type": "keyword"
          },
          "host": {
            "type": "keyword"
          },
          "lang": {
            "type": "keyword"
          },
          "last_modified": {
            "type": "date",
            "format": "date_optional_time"
          },
          "location": {
            "type": "geo_point"
          },
          "mimetype": {
            "type": "keyword"
          },
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 15 11:50:35 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  6. src/main/resources/fess_indices/_aws/fess/doc.json

          },
          "filetype": {
            "type": "keyword"
          },
          "host": {
            "type": "keyword"
          },
          "lang": {
            "type": "keyword"
          },
          "last_modified": {
            "type": "date",
            "format": "date_optional_time"
          },
          "location": {
            "type": "geo_point"
          },
          "mimetype": {
            "type": "keyword"
          },
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 15 11:50:35 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/common/help.jsp

    		documents which has "Fess" as the document title, you can enter:
    		<pre>title:Fess</pre>
    		The available fields are "url", "host", "site", "title", "content",
    		"content_length", "last_modified" and "mimetype", and they are
    		customizable.
    	</dd>
    	<dt>Sort</dt>
    	<dd>
    		sort field sorts documents by a specified field name. The format is
    		"sort:&lt;field&gt;.&lt;order&gt;", where &lt;order&gt; is asc or
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Feb 26 14:01:31 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/QueryCommandTest.java

                }
    
                @Override
                public String getIndexFieldMimetype() {
                    return "mimetype";
                }
    
                @Override
                public String getIndexFieldFiletype() {
                    return "filetype";
                }
    
                @Override
                public String getIndexFieldFilename() {
                    return "filename";
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

            fileTypeHelper.add("text/plain", "text");
    
            assertEquals("pdf", fileTypeHelper.get("application/pdf"));
            assertEquals("text", fileTypeHelper.get("text/plain"));
    
            // Test non-existent mimetype returns default value
            assertEquals("others", fileTypeHelper.get("non/existent"));
        }
    
        public void test_get_withNullMimetype() {
            assertEquals("others", fileTypeHelper.get(null));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. 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)));
        }
    
        String getCrawlerDocumentCacheSupportedMimetypes();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
Back to top