Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for content_type (0.07 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt

      fun encodedValue(index: Int): String = encodedValues[index]
    
      fun value(index: Int): String = encodedValue(index).percentDecode(plusIsSpace = true)
    
      override fun contentType(): MediaType = CONTENT_TYPE
    
      override fun contentLength(): Long = writeOrCountBytes(null, true)
    
      @Throws(IOException::class)
      override fun writeTo(sink: BufferedSink) {
        writeOrCountBytes(sink, false)
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/request-files.md

    ### `UploadFile` { #uploadfile }
    
    `UploadFile` has the following attributes:
    
    * `filename`: A `str` with the original file name that was uploaded (e.g. `myimage.jpg`).
    * `content_type`: A `str` with the content type (MIME type / media type) (e.g. `image/jpeg`).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            final Map<String, String> params = new HashMap<>(crawlingConfig.getConfigParameterMap(ConfigName.CONFIG));
            params.put(ExtractData.RESOURCE_NAME_KEY, getResourceName(responseData));
            params.put(ExtractData.CONTENT_TYPE, responseData.getMimeType());
            params.put(ExtractData.CONTENT_ENCODING, responseData.getCharSet());
            params.put(ExtractData.URL, responseData.getUrl());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/HttpHeaders.java

      /** The HTTP {@code Content-Length} header field name. */
      public static final String CONTENT_LENGTH = "Content-Length";
    
      /** The HTTP {@code Content-Type} header field name. */
      public static final String CONTENT_TYPE = "Content-Type";
    
      /** The HTTP {@code Date} header field name. */
      public static final String DATE = "Date";
    
      /** The HTTP {@code Pragma} header field name. */
      public static final String PRAGMA = "Pragma";
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 27 20:37:16 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  5. src/main/resources/fess_config.properties

    # Meta prefix for GSA queries.
    query.gsa.meta.prefix=MT_
    # Charset field for GSA index queries.
    query.gsa.index.field.charset=charset
    # Content type field for GSA index queries.
    query.gsa.index.field.content_type.=content_type
    # Maximum concurrent group results for collapse queries.
    query.collapse.max.concurrent.group.results=4
    # Inner hits name for collapse queries.
    query.collapse.inner.hits.name=similar_docs
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 14:45:37 UTC 2025
    - 54.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /** The key of the configuration. e.g. charset */
        String QUERY_GSA_INDEX_FIELD_CHARSET = "query.gsa.index.field.charset";
    
        /** The key of the configuration. e.g. content_type */
        String QUERY_GSA_INDEX_FIELD_content_type_ = "query.gsa.index.field.content_type.";
    
        /** The key of the configuration. e.g. 4 */
        String QUERY_COLLAPSE_MAX_CONCURRENT_GROUP_RESULTS = "query.collapse.max.concurrent.group.results";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 525.6K bytes
    - Viewed (1)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

          val buffer = Buffer().writeString(this, charset)
          return buffer.asResponseBody(finalContentType, buffer.size)
        }
    
        /** Returns a new response body that transmits this byte array. */
        @JvmStatic
        @JvmName("create")
        fun ByteArray.toResponseBody(contentType: MediaType? = null): ResponseBody =
          Buffer()
            .write(this)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. cmd/object-lambda-handlers_test.go

    		statusCode   int
    		body         string
    		contentType  string
    		expectStatus int
    	}{
    		{
    			name:         "Success 206 Partial Content",
    			statusCode:   206,
    			body:         "partial-object-data",
    			contentType:  "text/plain",
    			expectStatus: 206,
    		},
    		{
    			name:         "Success 200 OK",
    			statusCode:   200,
    			body:         "full-object-data",
    			contentType:  "application/json",
    			expectStatus: 200,
    		},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

        /**
         * Returns a new request body that transmits this string. If [contentType] is non-null and lacks
         * a charset, this will use UTF-8.
         */
        @JvmStatic
        @JvmName("create")
        fun String.toRequestBody(contentType: MediaType? = null): RequestBody {
          val (charset, finalContentType) = contentType.chooseCharset()
          val bytes = toByteArray(charset)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

        val contentType = "text/plain; charset=utf-16be".toMediaType()
        val body = "\u0800".toRequestBody(contentType)
        assertThat(body.contentType()).isEqualTo(contentType)
        assertThat(body.contentLength()).isEqualTo(2)
        assertThat(bodyToHex(body)).isEqualTo("0800")
      }
    
      @Test
      fun byteArray() {
        val contentType = "text/plain".toMediaType()
        val body: RequestBody = "abc".toByteArray().toRequestBody(contentType)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top