Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for attachment (0.05 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. 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)
  3. 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