Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for attachEvent (0.47 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",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 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");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 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)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
Back to top