Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,430 for responses (0.07 sec)

  1. docs/em/docs/advanced/response-directly.md

    โšซ๏ธ ๐Ÿ’ช โš , ๐Ÿ–ผ, ๐Ÿ“จ ๐Ÿ›ƒ ๐ŸŽš โš–๏ธ ๐Ÿช.
    
    ## ๐Ÿ“จ `Response`
    
    ๐Ÿ‘, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“จ ๐Ÿ™† `Response` โš–๏ธ ๐Ÿ™† ๐ŸŽง-๐ŸŽ“ โšซ๏ธ.
    
    /// tip
    
    `JSONResponse` โšซ๏ธ ๐ŸŽง-๐ŸŽ“ `Response`.
    
    ///
    
    & ๐Ÿ•โ” ๐Ÿ‘† ๐Ÿ“จ `Response`, **FastAPI** ๐Ÿ”œ ๐Ÿšถโ€โ™€๏ธ โšซ๏ธ ๐Ÿ”—.
    
    โšซ๏ธ ๐Ÿ† ๐Ÿšซ ๐Ÿ™† ๐Ÿ’ฝ ๐Ÿ› ๏ธ โฎ๏ธ Pydantic ๐Ÿท, โšซ๏ธ ๐Ÿ† ๐Ÿšซ ๐Ÿ—œ ๐ŸŽš ๐Ÿ™† ๐Ÿ†Ž, โ™’๏ธ.
    
    ๐Ÿ‘‰ ๐Ÿค ๐Ÿ‘† ๐Ÿ“š ๐Ÿ’ช. ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“จ ๐Ÿ™† ๐Ÿ“Š ๐Ÿ†Ž, ๐Ÿ” ๐Ÿ™† ๐Ÿ’ฝ ๐Ÿ“„ โš–๏ธ ๐Ÿ”ฌ, โ™’๏ธ.
    
    ## โš™๏ธ `jsonable_encoder` `Response`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. tests/test_additional_responses_response_class.py

        responses={500: {"description": "Error", "model": JsonApiError}},
    )
    async def a():
        pass  # pragma: no cover
    
    
    @app.get("/b", responses={500: {"description": "Error", "model": Error}})
    async def b():
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Cache.kt

          }
        }
    
        constructor(response: Response) {
          this.url = response.request.url
          this.varyHeaders = response.varyHeaders()
          this.requestMethod = response.request.method
          this.protocol = response.protocol
          this.code = response.code
          this.message = response.message
          this.responseHeaders = response.headers
          this.handshake = response.handshake
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/response-directly.md

    ```
    
    /// note | Detalles Tรฉcnicos
    
    Tambiรฉn puedes usar `from starlette.responses import JSONResponse`.
    
    **FastAPI** provee `starlette.responses` como `fastapi.responses`, simplemente como una conveniencia para ti, el desarrollador. Pero la mayorรญa de las respuestas disponibles vienen directamente de Starlette.
    
    ///
    
    ## Devolviendo una `Response` personalizada
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. fastapi/routing.py

            for additional_status_code, response in self.responses.items():
                assert isinstance(response, dict), "An additional response must be a dict"
                model = response.get("model")
                if model:
                    assert is_body_allowed_for_status_code(
                        additional_status_code
                    ), f"Status code {additional_status_code} must not have a response body"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/99-minor/net/http/65035.md

    [Transport]'s limit on 1xx informational responses received
    in response to a request has changed.
    It previously aborted a request and returned an error after
    receiving more than 5 1xx responses.
    It now returns an error if the total size of all 1xx responses
    exceeds the [Transport.MaxResponseHeaderBytes] configuration setting.
    
    In addition, when a request has a
    [net/http/httptrace.ClientTrace.Got1xxResponse]
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 25 03:22:33 UTC 2024
    - 549 bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/extra-data-types.md

        * Wird in Requests und Responses als `str` dargestellt.
    * `datetime.datetime`:
        * Ein Python-`datetime.datetime`.
        * Wird in Requests und Responses als `str` im ISO 8601-Format dargestellt, etwa: `2008-09-15T15:53:00+05:00`.
    * `datetime.date`:
        * Python-`datetime.date`.
        * Wird in Requests und Responses als `str` im ISO 8601-Format dargestellt, etwa: `2008-09-15`.
    * `datetime.time`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/RecordingCallback.kt

      @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
       * enqueued before the timeout.
       */
      @Synchronized
    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/es/docs/advanced/additional-status-codes.md

    ///
    
    ## OpenAPI y documentaciรณn de API
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. docs/ja/docs/advanced/response-directly.md

    XMLใ‚’ๆ–‡ๅญ—ๅˆ—ใซใ—ใ€`Response` ใซๅซใ‚ใ€ใใ‚Œใ‚’่ฟ”ใ—ใพใ™ใ€‚
    
    ```Python hl_lines="1  18"
    {!../../docs_src/response_directly/tutorial002.py!}
    ```
    
    ## ๅ‚™่€ƒ
    
    `Response` ใ‚’็›ดๆŽฅ่ฟ”ใ™ๅ ดๅˆใ€ใƒใƒชใƒ‡ใƒผใ‚ทใƒงใƒณใ‚„ใ€ๅค‰ๆ› (ใ‚ทใƒชใ‚ขใƒฉใ‚คใ‚บ) ใ‚„ใ€่‡ชๅ‹•ใƒ‰ใ‚ญใƒฅใƒกใƒณใƒˆใฏ่กŒใ‚ใ‚Œใพใ›ใ‚“ใ€‚
    
    ใ—ใ‹ใ—ใ€[Additional Responses in OpenAPI](additional-responses.md){.internal-link target=_blank}ใซ่จ˜่ผ‰ใ•ใ‚ŒใŸใ‚ˆใ†ใซใƒ‰ใ‚ญใƒฅใƒกใƒณใƒˆใ‚’ๆ›ธใใ“ใจใ‚‚ใงใใพใ™ใ€‚
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top