Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,054 for body (0.04 sec)

  1. src/main/webapp/js/login.js

            docId = button.data("docid"),
            title = button.data("title"),
            url = button.data("url");
    
        $(this)
          .find(".modal-body #delete-doc-title")
          .text(title);
        $(this)
          .find(".modal-body #delete-doc-url")
          .text(url);
        $(this)
          .find(".modal-footer input#docId")
          .val(docId);
      });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Sep 12 06:47:49 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  2. docs_src/websockets/tutorial001.py

    from fastapi import FastAPI, WebSocket
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
                <input type="text" id="messageText" autocomplete="off"/>
                <button>Send</button>
            </form>
            <ul id='messages'>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/schema-extra-example.md

    ////
    
    ## JSON Schema에서의 `examples` - OpenAPI
    
    이들 중에서 사용합니다:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    **OpenAPI**의 **JSON 스키마**에 추가될 부가적인 정보를 포함한 `examples` 모음을 선언할 수 있습니다.
    
    ### `examples`를 포함한 `Body`
    
    여기, `Body()`에 예상되는 예제 데이터 하나를 포함한 `examples`를 넘겼습니다:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="22-29"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/schema-extra-example.md

    {!> ../../docs_src/schema_extra_example/tutorial002.py!}
    ```
    
    ////
    
    /// warning
    
    请记住,传递的那些额外参数不会添加任何验证,只会添加注释,用于文档的目的。
    
    ///
    
    ## `Body` 额外参数
    
    你可以通过传递额外信息给 `Field` 同样的方式操作`Path`, `Query`, `Body`等。
    
    比如,你可以将请求体的一个 `example` 传递给 `Body`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="22-27"
    {!> ../../docs_src/schema_extra_example/tutorial003_an_py310.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. test-site/app/views/main.scala.html

            <link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.png")">
            <script src="@routes.Assets.at("javascripts/hello.js")" type="text/javascript"></script>
        </head>
        <body>
            @content
        </body>
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 450 bytes
    - Viewed (0)
  6. docs_src/response_directly/tutorial002.py

    app = FastAPI()
    
    
    @app.get("/legacy/")
    def get_legacy_data():
        data = """<?xml version="1.0"?>
        <shampoo>
        <Header>
            Apply shampoo here.
        </Header>
        <Body>
            You'll have to use soap here.
        </Body>
        </shampoo>
        """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 354 bytes
    - Viewed (0)
  7. fess-crawler/src/test/resources/html/test1.shtml

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>タイトル</title>
    </head>
    <body>
    <h1>第一章</h1>
    <h2>第一節</h2>
    <p>ほげほげ<br>ふがふが</p>
    <p>
    <a href="test2.html">LINK</a>
    </p>
    <h1>第2章</h1>
    <h2>第2節</h2>
    </body>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 289 bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/RecordingCallback.kt

        (this as Object).notifyAll()
      }
    
      @Synchronized
      override fun onResponse(
        call: Call,
        response: Response,
      ) {
        val body = response.body.string()
        responses.add(RecordedResponse(call.request(), response, null, body, null))
        (this as Object).notifyAll()
      }
    
      /**
       * Returns the recorded response triggered by `request`. Throws if the response isn't
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. docs_src/custom_response/tutorial003.py

    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items():
        html_content = """
        <html>
            <head>
                <title>Some HTML in here</title>
            </head>
            <body>
                <h1>Look ma! HTML!</h1>
            </body>
        </html>
        """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 394 bytes
    - Viewed (0)
  10. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

      }
    
      @Test
      fun setBodyAdjustsHeaders() {
        val builder = MockResponse.Builder().body("ABC")
        assertThat(headersToList(builder)).containsExactly("Content-Length: 3")
        val response = builder.build()
        val body = Buffer()
        response.body!!.writeTo(body)
        assertThat(body.readUtf8()).isEqualTo("ABC")
      }
    
      @Test
      fun mockResponseAddHeader() {
        val builder =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top