Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for attachment (0.07 sec)

  1. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

          |Content-Disposition: form-data; name="attachment"; filename="resumé.pdf"
          |Content-Type: application/pdf; charset=utf-8
          |
          |Jesse’s Resumé
          |--AaB03x--
          |
          """.trimMargin().replace("\n", "\r\n")
        val body =
          MultipartBody.Builder("AaB03x")
            .setType(MultipartBody.FORM)
            .addFormDataPart(
              "attachment",
              "resumé.pdf",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                    final int count = multipart.getCount();
                    for (int i = 0; i < count; i++) {
                        final BodyPart bodyPart = multipart.getBodyPart(i);
                        if (Part.ATTACHMENT.equalsIgnoreCase(bodyPart.getDisposition())) {
                            appendAttachment(buf, bodyPart);
                        } else if (bodyPart.isMimeType("text/plain") || bodyPart.isMimeType("text/html")) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            final String name = pi.getName();
            final String encodedName = URLEncoder.encode(name, Constants.UTF_8_CHARSET).replace("+", "%20");
            response.header("Content-Disposition", "attachment; filename=\"" + name + "\"; filename*=utf-8''" + encodedName);
            response.header("Pragma", "no-cache");
            response.header("Cache-Control", "no-cache");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                if (inlineMimeTypeSet.contains(responseData.getMimeType())) {
                    contentDispositionType = "inline";
                } else {
                    contentDispositionType = "attachment";
                }
    
                final String encodedName = URLEncoder.encode(name, Constants.UTF_8).replace("+", "%20");
                final String contentDispositionValue;
                if (name.equals(encodedName)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
Back to top