Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1571 - 1580 of 2,232 for contents (0.06 sec)

  1. mockwebserver/README.md

    You can set a custom body with a string, input stream or byte array. Also
    add headers with a fluent builder API.
    
    ```java
    MockResponse response = new MockResponse()
        .addHeader("Content-Type", "application/json; charset=utf-8")
        .addHeader("Cache-Control", "no-cache")
        .setBody("{}");
    ```
    
    MockResponse can be used to simulate a slow network. This is useful for
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/dataclasses.md

    ```Python hl_lines="1  7-12  19-20"
    {!../../docs_src/dataclasses/tutorial001.py!}
    ```
    
    👉 🐕‍🦺 👏 **Pydantic**, ⚫️ ✔️ <a href="https://docs.pydantic.dev/latest/concepts/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">🔗 🐕‍🦺 `dataclasses`</a>.
    
    , ⏮️ 📟 🔛 👈 🚫 ⚙️ Pydantic 🎯, FastAPI ⚙️ Pydantic 🗜 📚 🐩 🎻 Pydantic 👍 🍛 🎻.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py

                        "operationId": "read_main_app_get",
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            }
                        },
                    }
                }
            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. fastapi/exception_handlers.py

        )
    
    
    async def request_validation_exception_handler(
        request: Request, exc: RequestValidationError
    ) -> JSONResponse:
        return JSONResponse(
            status_code=HTTP_422_UNPROCESSABLE_ENTITY,
            content={"detail": jsonable_encoder(exc.errors())},
        )
    
    
    async def websocket_request_validation_exception_handler(
        websocket: WebSocket, exc: WebSocketRequestValidationError
    ) -> None:
        await websocket.close(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_extra_models/test_tutorial004.py

                "/items/": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "title": "Response Read Items Items  Get",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                    if (item.getPermissions().length == 0) {
                        final Map<String, String> map = new HashMap<>(2);
                        map.put(Constants.ITEM_LABEL, item.getLabel());
                        map.put(Constants.ITEM_VALUE, item.getValue());
                        itemList.add(map);
                    }
                }
            } else {
                for (final LabelTypeItem item : labelList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. compat/maven-settings/src/site/apt/index.apt

     -----
     Introduction
     -----
     Vincent Siveton
     -----
     2006-11-04
     -----
    
    Maven Settings Model
    
     This is the model for Maven settings in <<<org.apache.maven.settings>>> package,
     delegating content to {{{../api/maven-api-settings/index.html}Maven 4 API immutable settings}}. All the effective model
     building logic from multiple settings files is done in {{{../maven-settings-builder/}Maven Settings Builder}}.
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. cmd/object-api-common.go

    	// TLDR..
    	// Not used anymore xl.meta captures the right blockSize
    	// so blockSizeV2 should be used for all future purposes.
    	// this value is kept here to calculate the max API
    	// requests based on RAM size for existing content.
    	blockSizeV1 = 10 * humanize.MiByte
    
    	// Block size used in erasure coding version 2.
    	blockSizeV2 = 1 * humanize.MiByte
    
    	// Buckets meta prefix.
    	bucketMetaPrefix = "buckets"
    
    	// Deleted Buckets prefix.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. deps.xml

    	<property name="site.dir" value="${basedir}/src/main/webapp/WEB-INF/site" />
    	<property name="kopf.branch" value="fess-14" />
    
    	<!-- Maven Repository -->
    	<property name="maven.snapshot.repo.url" value="https://oss.sonatype.org/content/repositories/snapshots" />
    	<property name="maven.release.repo.url" value="https://repo1.maven.org/maven2" />
    
    	<target name="install.jars">
    		<mkdir dir="${target.dir}" />
    		<delete dir="${webinf.dir}/lib" />
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 04:37:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

        assertThat(recorded.headers["Connection"]).isEqualTo("Upgrade, HTTP2-Settings")
        if (PlatformVersion.majorVersion < 19) {
          assertThat(recorded.headers["Content-Length"]).isEqualTo("0")
        }
        assertThat(recorded.headers["HTTP2-Settings"]).isNotNull()
        assertThat(recorded.headers["Upgrade"]).isEqualTo("h2c") // HTTP/2 over plaintext!
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top