Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 2,862 for Content (0.08 seconds)

  1. docs/zh-hant/docs/advanced/stream-data.md

    ## 自訂 `PNGStreamingResponse` { #a-custom-pngstreamingresponse }
    
    在上述範例中,雖然串流了資料位元組,但回應沒有 `Content-Type` 標頭,因此用戶端不知道接收到的是哪種資料型別。
    
    你可以建立 `StreamingResponse` 的自訂子類別,將 `Content-Type` 標頭設定為你要串流的資料型別。
    
    例如,你可以建立 `PNGStreamingResponse`,透過 `media_type` 屬性把 `Content-Type` 設為 `image/png`:
    
    {* ../../docs_src/stream_data/tutorial002_py310.py ln[6,19:20] hl[20] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        assertThat(cache.hitCount()).isEqualTo(0)
      }
    
      private fun corruptCertificate(cacheEntry: Path) {
        var content = fileSystem.source(cacheEntry).buffer().readUtf8()
        content = content.replace("MII", "!!!")
        fileSystem
          .sink(cacheEntry)
          .buffer()
          .writeUtf8(content)
          .close()
      }
    
      /**
       * A network interceptor strips the handshake from a real HTTPS response before the
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/PluginHelper.java

         */
        protected List<Artifact> loadArtifactsFromRepository(final String url) {
            final String content = getRepositoryContent(url);
            final ObjectMapper objectMapper = new YAMLMapper();
            try {
                @SuppressWarnings("unchecked")
                final List<Map<?, ?>> result = objectMapper.readValue(content, List.class);
                if (result != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Mar 04 15:19:41 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java

        /**
         * Test convertWithFieldCheck() adds query text to context.
         */
        @Test
        public void test_convertWithFieldCheck_addsToContext() {
            FessConfig fessConfig = ComponentUtil.getFessConfig();
            QueryContext context = new QueryContext("test", true);
    
            String queryText = "search term";
            queryCommand.convertWithFieldCheck(fessConfig, context, "title", queryText, 1.0f,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  5. src/main/webapp/WEB-INF/view/admin/searchlist/admin_searchlist_edit.jsp

                                        <label for="doc.content" class="col-sm-3 text-sm-right col-form-label">content</label>
                                        <div class="col-sm-9">
                                            <la:errors property="doc.content"/>
                                            <la:text styleId="doc.content" property="doc.content" styleClass="form-control"/>
                                        </div>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  6. .ci/jobs.t/elastic+elasticsearch+multijob+third-party-tests-geoip.yml

        description: "Testing of the Elasticsearch %BRANCH% third party tests against GeoIP database service\n"
        builders:
          - inject:
              properties-file: '.ci/java-versions.properties'
              properties-content: |
                JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA
                RUNTIME_JAVA_HOME=$HOME/.java/$ES_RUNTIME_JAVA
                geoip_use_service=true
          - shell: |
              #!/usr/local/bin/runbld --redirect-stderr
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 783 bytes
    - Click Count (0)
  7. CLAUDE.md

    ├── constants/                  # Field names, constants
    ├── exception/                  # Custom exceptions
    ├── index/
    │   ├── SuggestIndexer.java    # Indexing operations
    │   ├── contents/              # Content parsers
    │   └── writer/                # Index writers
    ├── request/
    │   ├── suggest/               # Suggestion queries
    │   └── popularwords/          # Popular word queries
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:53 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  8. cmd/encryption-v1.go

    	default:
    		return crypto.ObjectKey{}, fmt.Errorf("encryption type '%v' not supported", kind)
    	}
    }
    
    func newEncryptReader(ctx context.Context, content io.Reader, kind crypto.Type, keyID string, key []byte, bucket, object string, metadata map[string]string, cryptoCtx kms.Context) (io.Reader, crypto.ObjectKey, error) {
    	objectEncryptionKey, err := newEncryptMetadata(ctx, kind, keyID, key, bucket, object, metadata, cryptoCtx)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

            StreamUtil.split(slackWebhookUrls, "[,\\s]").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(url -> {
                try (CurlResponse response = Curl.post(url).header("Content-Type", "application/json").body(body).execute()) {
                    if (response.getHttpStatusCode() == 200) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Sent {} to {}.", body, url);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/response-status-code.md

        * Another example would be `201`, "Created". It is commonly used after creating a new record in the database.
        * A special case is `204`, "No Content".  This response is used when there is no content to return to the client, and so the response must not have a body.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.9K bytes
    - Click Count (0)
Back to Top