Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Disposition (0.06 sec)

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

      fun fieldAndTwoFiles() {
        val expected =
          """
          |--AaB03x
          |Content-Disposition: form-data; name="submit-name"
          |
          |Larry
          |--AaB03x
          |Content-Disposition: form-data; name="files"
          |Content-Type: multipart/mixed; boundary=BbC04y
          |
          |--BbC04y
          |Content-Disposition: file; filename="file1.txt"
          |Content-Type: text/plain; charset=utf-8
          |
    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. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

                }
              }
    
            val headers =
              Headers.Builder()
                .addUnsafeNonAscii("Content-Disposition", disposition)
                .build()
    
            return create(headers, body)
          }
        }
      }
    
      class Builder
        @JvmOverloads
        constructor(boundary: String = UUID.randomUUID().toString()) {
          private val boundary: ByteString = boundary.encodeUtf8()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

        assertThat(brownPart.headers).isEqualTo(
          headersOf(
            "Content-Disposition",
            "form-data; name=\"color\"",
          ),
        )
        assertThat(brownPart.body.readUtf8()).isEqualTo("Brown")
    
        val foxPart = reader.nextPart()!!
        assertThat(foxPart.headers).isEqualTo(
          headersOf(
            "Content-Disposition",
            "form-data; name=\"animal\"; filename=\"fox.txt\"",
          ),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                putValue(data, "Content-MD5", message.getContentMD5());
                putValue(data, "Description", message.getDescription());
                putValue(data, "Disposition", message.getDisposition());
                putValue(data, "Encoding", message.getEncoding());
                putValue(data, "File-Name", message.getFileName());
                putValue(data, "From", message.getFrom());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. cmd/postpolicyform.go

    var startsWithConds = map[string]bool{
    	"$acl":                     true,
    	"$bucket":                  false,
    	"$cache-control":           true,
    	"$content-type":            true,
    	"$content-disposition":     true,
    	"$content-encoding":        true,
    	"$expires":                 true,
    	"$key":                     true,
    	"$success_action_redirect": true,
    	"$redirect":                true,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. internal/http/headers.go

    	AmzBucketRegion    = "X-Amz-Bucket-Region"
    	ServerInfo         = "Server"
    	RetryAfter         = "Retry-After"
    	Location           = "Location"
    	CacheControl       = "Cache-Control"
    	ContentDisposition = "Content-Disposition"
    	Authorization      = "Authorization"
    	Action             = "Action"
    	Range              = "Range"
    )
    
    // Non standard S3 HTTP response constants
    const (
    	XCache       = "X-Cache"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. docs/ja/docs/advanced/custom-response.md

    他のレスポンスタイプとは異なる引数のセットを受け取りインスタンス化します。
    
    * `path` - ストリームするファイルのファイルパス。
    * `headers` - 含めたい任意のカスタムヘッダーの辞書。
    * `media_type` - メディアタイプを示す文字列。セットされなかった場合は、ファイル名やパスからメディアタイプが推察されます。
    * `filename` - セットされた場合、レスポンスの `Content-Disposition` に含まれます。
    
    ファイルレスポンスには、適切な `Content-Length` 、 `Last-Modified` 、 `ETag` ヘッダーが含まれます。
    
    ```Python hl_lines="2  10"
    {!../../docs_src/custom_response/tutorial009.py!}
    ```
    
    ## デフォルトレスポンスクラス
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/custom-response.md

    * `media_type` – Ein String, der den Medientyp angibt. Wenn nicht gesetzt, wird der Dateiname oder Pfad verwendet, um auf einen Medientyp zu schließen.
    * `filename` – Wenn gesetzt, wird das in der `Content-Disposition` der Response eingefügt.
    
    Datei-Responses enthalten die entsprechenden `Content-Length`-, `Last-Modified`- und `ETag`-Header.
    
    ```Python hl_lines="2  10"
    {!../../docs_src/custom_response/tutorial009.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/HttpHeaders.java

      public static final String AGE = "Age";
      /** The HTTP {@code Allow} header field name. */
      public static final String ALLOW = "Allow";
      /** The HTTP {@code Content-Disposition} header field name. */
      public static final String CONTENT_DISPOSITION = "Content-Disposition";
      /** The HTTP {@code Content-Encoding} header field name. */
      public static final String CONTENT_ENCODING = "Content-Encoding";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 19:08:38 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  10. cmd/signature-v2.go

    	"delete",
    	"encryption",
    	"legal-hold",
    	"lifecycle",
    	"location",
    	"logging",
    	"notification",
    	"partNumber",
    	"policy",
    	"requestPayment",
    	"response-cache-control",
    	"response-content-disposition",
    	"response-content-encoding",
    	"response-content-language",
    	"response-content-type",
    	"response-expires",
    	"retention",
    	"select",
    	"select-type",
    	"tagging",
    	"torrent",
    	"uploadId",
    	"uploads",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top