Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 1,371 for CONTENT (0.04 seconds)

  1. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

                className.insert(0, ".").insert(0, packageElement.getQualifiedName());
            }
    
            return className.toString();
        }
    
        /**
         * Updates the index file if its content has changed.
         * The file is created at {@code META-INF/maven/org.apache.maven.api.di.Inject} and contains
         * the fully qualified names of classes with the {@link Named} annotation.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. tests/test_custom_middleware_exception.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    router = APIRouter()
    
    
    class ContentSizeLimitMiddleware:
        """Content size limiting middleware for ASGI applications
        Args:
          app (ASGI application): ASGI application
          max_content_size (optional): the maximum content size allowed in bytes, None for no limit
        """
    
        def __init__(self, app: APIRouter, max_content_size: int | None = None):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  3. cmd/post-policy_test.go

    	// Add the key condition, only accept keys equal to the one passed.
    	keyConditionStr := fmt.Sprintf(`["eq", "$key", "%s/upload.txt"]`, objectKey)
    	// Add content length condition, only accept content sizes of a given length.
    	contentLengthCondStr := `["content-length-range", 1024, 1048576]`
    	// Add the algorithm condition, only accept AWS SignV4 Sha256.
    	algorithmConditionStr := `["eq", "$x-amz-algorithm", "AWS4-HMAC-SHA256"]`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

         *     has a 'Content-Encoding' header.
         */
        fun gzip() =
          apply {
            val identityBody =
              body
                ?: throw IllegalStateException("cannot gzip a request that has no body")
    
            val contentEncoding = headers["Content-Encoding"]
            check(contentEncoding == null) {
              "Content-Encoding already set: $contentEncoding"
            }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  5. src/main/java/org/codelibs/fess/entity/ChatMessage.java

        }
    
        /**
         * Gets the message content.
         *
         * @return the message content
         */
        public String getContent() {
            return content;
        }
    
        /**
         * Sets the message content.
         *
         * @param content the message content
         */
        public void setContent(final String content) {
            this.content = content;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 04:52:31 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/curl/io/ContentCache.java

     * When an instance is created with a File object, the content is cached in the specified file.
     *
     * <p>The {@code close()} method deletes the file if the content is cached in a file.
     *
     * <p>The {@code getInputStream()} method provides an InputStream to read the cached content.
     * If the content is cached in a file, it returns a FileInputStream. If the content is cached in memory,
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            doc.put("title", "Test Doc");
            doc.put("url", "http://example.com");
            doc.put("content", "Plain text content without any HTML");
            documents.add(doc);
    
            final String result = client.testBuildContext(documents);
            assertTrue(result.contains("Plain text content without any HTML"));
        }
    
        @Test
        public void test_buildContext_multipleDocumentsWithHtml() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

        /**
         * Returns true if [fieldName] is content specific and therefore should always be used
         * from cached headers.
         */
        private fun isContentSpecificHeader(fieldName: String): Boolean =
          "Content-Length".equals(fieldName, ignoreCase = true) ||
            "Content-Encoding".equals(fieldName, ignoreCase = true) ||
            "Content-Type".equals(fieldName, ignoreCase = true)
      }
    }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/advanced/custom-response.md

    主要的 `Response` 類別,其他回應皆繼承自它。
    
    你也可以直接回傳它。
    
    它接受以下參數:
    
    - `content` - `str` 或 `bytes`。
    - `status_code` - `int` 類型的 HTTP 狀態碼。
    - `headers` - 由字串組成的 `dict`。
    - `media_type` - 描述 media type 的 `str`。例如 `"text/html"`。
    
    FastAPI(實際上是 Starlette)會自動包含 Content-Length 標頭。也會根據 `media_type`(並為文字型別附加 charset)包含 Content-Type 標頭。
    
    {* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  10. src/main/webapp/WEB-INF/view/admin/crawlinginfo/admin_crawlinginfo_details.jsp

            <jsp:param name="menuCategoryType" value="log"/>
            <jsp:param name="menuType" value="crawlingInfo"/>
        </jsp:include>
        <main class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 10.2K bytes
    - Click Count (0)
Back to Top