Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,142 for Body (0.18 sec)

  1. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        applicationLogs
          .assertLogEqual("--> POST $url (3-byte body)")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms, 0-byte body\)"""))
          .assertNoMoreLogs()
        networkLogs
          .assertLogEqual("--> POST $url http/1.1 (3-byte body)")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms, 0-byte body\)"""))
          .assertNoMoreLogs()
      }
    
      @Test
      fun basicResponseBody() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Nov 07 02:57:33 UTC 2025
    - 39.4K bytes
    - Viewed (0)
  2. docs_src/additional_status_codes/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import Body, FastAPI, status
    from fastapi.responses import JSONResponse
    
    app = FastAPI()
    
    items = {"foo": {"name": "Fighters", "size": 6}, "bar": {"name": "Tenders", "size": 3}}
    
    
    @app.put("/items/{item_id}")
    async def upsert_item(
        item_id: str,
        name: Annotated[str | None, Body()] = None,
        size: Annotated[int | None, Body()] = None,
    ):
        if item_id in items:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 686 bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/schema-extra-example.md

    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    Ви також можете задати набір `examples` з додатковою інформацією, яка буде додана до їхніх **JSON-схем** у **OpenAPI**.
    
    ### `Body` з `examples`
    
    Тут ми передаємо `examples`, які містять один приклад очікуваних даних у `Body()`:
    
    {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jun 09 19:35:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            Elements bodyContent = document.body().children().remove();
            document.body().prepend("<div class='container'/>");
            document.body().children().get(0).html(bodyContent.outerHtml());
        }
    
        private void addTOC(Document document) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue May 27 09:07:14 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. fess-crawler/src/test/resources/extractor/test_entity.xml

    <?xml version="1.0"?>
    <html>
    <head>
    <title>&#12479;&#12452;&#12488;&#12523;</title>
    </head>
    <body>
    <div>&#12486;&#12473;&#12488;</div>
    </body>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 151 bytes
    - Viewed (0)
  6. tests/test_request_params/test_body/test_optional_list.py

    from typing import Annotated, Optional
    
    import pytest
    from fastapi import Body, FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, Field
    
    from .utils import get_body_model_name
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.post("/optional-list-str", operation_id="optional_list_str")
    async def read_optional_list_str(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/role/admin_role_details.jsp

                                    <jsp:include page="/WEB-INF/view/common/admin/crud/header.jsp"></jsp:include>
                                </div>
                                    <%-- Card Body --%>
                                <div class="card-body">
                                        <%-- Message --%>
                                    <div>
                                        <la:info id="msg" message="true">
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/openapi-callbacks.md

    Para crear la *path operation* del callback usa el mismo `APIRouter` que creaste arriba.
    
    Debería verse como una *path operation* normal de FastAPI:
    
    * Probablemente debería tener una declaración del body que debería recibir, por ejemplo `body: InvoiceEvent`.
    * Y también podría tener una declaración del response que debería devolver, por ejemplo `response_model=InvoiceEventReceived`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/resources/extractor/test_utf8.html

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>タイトル</title>
    </head>
    <body>
    <div>テスト</div>
    </body>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 162 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

         */
        protected EditBody createEditBody(final CharMappingItem entity, final String dictId) {
            final EditBody body = new EditBody();
            body.id = entity.getId();
            body.dictId = dictId;
            body.inputs = entity.getInputsValue();
            body.output = entity.getOutput();
            return body;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top