Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 107 for handling (0.22 sec)

  1. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

        {!> ../../../docs_src/dependencies/tutorial008b.py!}
        ```
    
    An alternative you could use to catch exceptions (and possibly also raise another `HTTPException`) is to create a [Custom Exception Handler](../handling-errors.md#install-custom-exception-handlers){.internal-link target=_blank}.
    
    ## Dependencies with `yield` and `except`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/request-forms.md

    !!! note "Technical Details"
        Data from forms is normally encoded using the "media type" `application/x-www-form-urlencoded`.
    
        But when the form includes files, it is encoded as `multipart/form-data`. You'll read about handling files in the next chapter.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt

    class WebSocketRecorder(
      private val name: String,
    ) : WebSocketListener() {
      private val events = LinkedBlockingQueue<Any>()
      private var delegate: WebSocketListener? = null
    
      /** Sets a delegate for handling the next callback to this listener. Cleared after invoked.  */
      fun setNextEventDelegate(delegate: WebSocketListener?) {
        this.delegate = delegate
      }
    
      override fun onOpen(
        webSocket: WebSocket,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/batch/v1/generated.proto

      // When no rule matches the Pod failure, the default handling applies - the
      // counter of pod failures is incremented and it is checked against
      // the backoffLimit. At most 20 elements are allowed.
      // +listType=atomic
      repeated PodFailurePolicyRule rules = 1;
    }
    
    // PodFailurePolicyOnExitCodesRequirement describes the requirement for handling
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  5. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    // but will be re-emitted in their canonical form. (So always use canonical
    // form, or don't diff.)
    //
    // This format is intended to make it difficult to use these numbers without
    // writing some sort of special handling code in the hopes that that will
    // cause implementors to also use a fixed point implementation.
    //
    // +protobuf=true
    // +protobuf.embed=string
    // +protobuf.options.marshal=false
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    http://hello%00
    
    # Escaped numbers should be treated like IP addresses if they are.
    # No special handling for IPv4 or IPv4-like URLs
    http://%30%78%63%30%2e%30%32%35%30.01  s:http p:/ h:192.168.0.1
    http://%30%78%63%30%2e%30%32%35%30.01%2e  s:http p:/ h:0xc0.0250.01.
    http://192.168.0.257
    
    # Invalid escaping should trigger the regular host error handling.
    http://%3g%78%63%30%2e%30%32%35%30%2E.01
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  7. docs/em/docs/how-to/custom-request-and-route.md

    โฎ๏ธ ๐Ÿ‘ˆ, ๐ŸŒ ๐Ÿญ โš› ๐ŸŽ.
    
    โœ‹๏ธ โ†ฉ๏ธ ๐Ÿ‘† ๐Ÿ”€ `GzipRequest.body`, ๐Ÿ“จ ๐Ÿ’ช ๐Ÿ”œ ๐Ÿ” ๐Ÿ—œ ๐Ÿ•โ” โšซ๏ธ ๐Ÿ“ **FastAPI** ๐Ÿ•โ” ๐Ÿ’ช.
    
    ## ๐Ÿ” ๐Ÿ“จ ๐Ÿ’ช โš  ๐Ÿ•โ€๐Ÿฆบ
    
    !!! tip
        โŽ ๐Ÿ‘‰ ๐ŸŽ โš , โšซ๏ธ ๐ŸŽฒ ๐Ÿ“š โฉ โš™๏ธ `body` ๐Ÿ›ƒ ๐Ÿ•โ€๐Ÿฆบ `RequestValidationError` ([๐Ÿšš โŒ](../tutorial/handling-errors.md#requestvalidationerror){.internal-link target=_blank}).
    
        โœ‹๏ธ ๐Ÿ‘‰ ๐Ÿ–ผ โ˜‘ &amp; โšซ๏ธ ๐ŸŽฆ โ” ๐Ÿ”— โฎ๏ธ ๐Ÿ”— ๐Ÿฆฒ.
    
    ๐Ÿ‘ฅ ๐Ÿ’ช โš™๏ธ ๐Ÿ‘‰ ๐ŸŽ ๐ŸŽฏ ๐Ÿ” ๐Ÿ“จ ๐Ÿ’ช โš  ๐Ÿ•โ€๐Ÿฆบ.
    
    ๐ŸŒ ๐Ÿ‘ฅ ๐Ÿ’ช ๐Ÿต ๐Ÿ“จ ๐Ÿ”˜ `try`/`except` ๐Ÿซ:
    
    ```Python hl_lines="13  15"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. docs/en/docs/fastapi-cli.md

    In most cases you would (and should) have a "termination proxy" handling HTTPS for you on top, this will depend on how you deploy your application, your provider might do this for you, or you might need to set it up yourself.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:16 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

            * [Install custom exception handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#install-custom-exception-handlers).
            * [Override the default exception handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#override-the-default-exception-handlers).
            * [Re-use **FastAPI's** exception handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#re-use-fastapis-exception-handlers).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  10. docs/zh/docs/advanced/custom-request-and-route.md

    ไน‹ๅŽ๏ผŒๆ‰€ๆœ‰ๅค„็†้€ป่พ‘้ƒฝไธ€ๆ ทใ€‚
    
    ไฝ†ๅ› ไธบๆ”นๅ˜ไบ† `GzipRequest.body`๏ผŒ**FastAPI** ๅŠ ่ฝฝ่ฏทๆฑ‚ไฝ“ๆ—ถไผš่‡ชๅŠจ่งฃๅŽ‹ใ€‚
    
    ## ๅœจๅผ‚ๅธธๅค„็†ๅ™จไธญ่ฎฟ้—ฎ่ฏทๆฑ‚ไฝ“
    
    !!! tip "ๆ็คบ"
    
        ไธบไบ†่งฃๅ†ณๅŒๆ ท็š„้—ฎ้ข˜๏ผŒๅœจ `RequestValidationError` ็š„่‡ชๅฎšไน‰ๅค„็†ๅ™จไฝฟ็”จ `body`  ๏ผˆ[ๅค„็†้”™่ฏฏ](../tutorial/handling-errors.md#use-the-requestvalidationerror-body){.internal-link target=_blank}๏ผ‰ๅฏ่ƒฝไผšๆ›ดๅฎนๆ˜“ใ€‚
    
        ไฝ†ๆœฌไพ‹ไป็„ถๅฏ่กŒ๏ผŒ่€Œไธ”ๆœฌไพ‹ๅฑ•็คบไบ†ๅฆ‚ไฝ•ไธŽๅ†…้ƒจ็ป„ไปถ่ฟ›่กŒไบคไบ’ใ€‚
    
    ๅŒๆ ทไนŸๅฏไปฅๅœจๅผ‚ๅธธๅค„็†ๅ™จไธญ่ฎฟ้—ฎ่ฏทๆฑ‚ไฝ“ใ€‚
    
    ๆญคๆ—ถ่ฆๅš็š„ๅชๆ˜ฏๅค„็† `try`/`except` ไธญ็š„่ฏทๆฑ‚๏ผš
    
    ```Python hl_lines="13  15"
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:45:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top