Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 1,829 for content2 (0.05 seconds)

  1. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

                final Map<String, Object> doc = new HashMap<>();
                doc.put("title", NAME_PREFIX + i);
                doc.put("url", "http://example.com/bulk/" + i);
                doc.put("content", "This is test content for bulk document " + i);
                doc.put("boost", 1.0f);
                doc.put("role", "Rguest");
                documents.add(doc);
            }
    
            requestBody.put("documents", documents);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_additional_responses/test_tutorial002.py

        shutil.copy("./docs/en/docs/img/favicon.png", "./image.png")
        response = client.get("/items/foo?img=1")
        assert response.status_code == 200, response.text
        assert response.headers["Content-Type"] == "image/png"
        assert len(response.content)
        os.remove("./image.png")
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/chat/ChatPhaseCallback.java

         */
        void onPhaseComplete(String phase);
    
        /**
         * Called when a chunk of the response is available during streaming.
         *
         * @param content the content chunk
         * @param done true if this is the final chunk
         */
        void onChunk(String content, boolean done);
    
        /**
         * Called when an error occurs during processing.
         *
         * @param phase the phase where the error occurred
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:32:04 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  4. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

        }
      }
    
      @Test
      fun testSkipUncompressNoContentResponse() {
        val response =
          response("https://httpbin.org/brotli", EMPTY) {
            header("Content-Encoding", "br")
            code(204)
            message("NO CONTENT")
          }
    
        val same = brotliInterceptor.decompress(response)
    
        val responseString = same.body.string()
        assertThat(responseString).isEmpty()
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Aug 22 08:12:58 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. tests/test_get_request_body.py

                                    "description": "Successful Response",
                                    "content": {"application/json": {"schema": {}}},
                                },
                                "422": {
                                    "description": "Validation Error",
                                    "content": {
                                        "application/json": {
                                            "schema": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  6. tests/test_additional_properties_bool.py

                                    "description": "Successful Response",
                                    "content": {"application/json": {"schema": {}}},
                                },
                                "422": {
                                    "description": "Validation Error",
                                    "content": {
                                        "application/json": {
                                            "schema": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  7. docs/pt/docs/advanced/custom-response.md

    Ela aceita os seguintes parâmetros:
    
    * `content` - Uma `str` ou `bytes`.
    * `status_code` - Um código de status HTTP do tipo `int`.
    * `headers` - Um `dict` de strings.
    * `media_type` - Uma `str` informando o media type. E.g. `"text/html"`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

        private static final Logger logger = LogManager.getLogger(GcsClient.class);
    
        /**
         * The character encoding to use for content. Defaults to UTF-8.
         */
        protected String charset = Constants.UTF_8;
    
        /**
         * Helper for managing content length validation and limits.
         */
        @Resource
        protected ContentLengthHelper contentLengthHelper;
    
        /**
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_body_updates/test_tutorial002.py

                        "get": {
                            "responses": {
                                "200": {
                                    "description": "Successful Response",
                                    "content": {
                                        "application/json": {
                                            "schema": {"$ref": "#/components/schemas/Item"}
                                        }
                                    },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

        return new MinimalCollection<>(Object.class, true, contents);
      }
    
      // TODO: use this
      public static <E extends @Nullable Object> MinimalCollection<E> ofClassAndContents(
          Class<? super @NonNull E> type, E... contents) {
        return new MinimalCollection<>(type, true, contents);
      }
    
      private final E[] contents;
      private final Class<? super @NonNull E> type;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 3.8K bytes
    - Click Count (0)
Back to Top