Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,139 for raised (0.46 sec)

  1. tests/test_custom_middleware_exception.py

                    "name": "ContentSizeLimitExceeded",
                    "code": 999,
                    "message": "File limit exceeded",
                }
            }
    
    
    def test_custom_middleware_exception_not_raised(tmp_path: Path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with client:
            with open(path, "rb") as file:
                response = client.post("/middleware", files={"file": file})
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Aug 25 21:44:40 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  2. CONTRIBUTING.md

    list](https://groups.google.com/forum/#!forum/golang-nuts) or [other forums](https://golang.org/help/) first. If
    the behavior you are seeing is confirmed as a bug or issue, it can easily be re-raised in the issue tracker.
    
    ## Filing issues
    
    Sensitive security-related issues should be reported to [******@****.***](mailto:******@****.***).
    See the [security policy](https://golang.org/security) for details.
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 29 22:00:27 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  3. docs/en/docs/reference/websockets.md

                - iter_bytes
                - iter_json
                - send_text
                - send_bytes
                - send_json
                - close
    
    When a client disconnects, a `WebSocketDisconnect` exception is raised, you can catch it.
    
    You can import it directly form `fastapi`:
    
    ```python
    from fastapi import WebSocketDisconnect
    ```
    
    ::: fastapi.WebSocketDisconnect
    
    ## WebSockets - additional classes
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  4. android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt

     */
    @Tag("Remote")
    class LetsEncryptClientTest {
      @Test fun get() {
        // These tests wont actually run before Android 8.0 as per
        // https://github.com/mannodermaus/android-junit5
        // Raised https://github.com/mannodermaus/android-junit5/issues/228 to reevaluate
        val androidMorEarlier = Build.VERSION.SDK_INT <= 23
    
        val clientBuilder = OkHttpClient.Builder()
    
        if (androidMorEarlier) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Viewed (1)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

            .isEqualTo(0x6cf78a4b139a4e2aL);
      }
    
      public void testParseLongEmptyString() {
        try {
          UnsignedLongs.parseUnsignedLong("");
          fail("NumberFormatException should have been raised.");
        } catch (NumberFormatException expected) {
        }
      }
    
      public void testParseLongFails() {
        try {
          // One more than maximum value
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

            .isEqualTo(0x6cf78a4b139a4e2aL);
      }
    
      public void testParseLongEmptyString() {
        try {
          UnsignedLongs.parseUnsignedLong("");
          fail("NumberFormatException should have been raised.");
        } catch (NumberFormatException expected) {
        }
      }
    
      public void testParseLongFails() {
        try {
          // One more than maximum value
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
            handler -->> client: HTTP error response
        end
        dep ->> operation: Run dependency, e.g. DB session
        opt raise
            operation -->> dep: Raise Exception (e.g. HTTPException)
            opt handle
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. RELEASE.md

        *   Improve the informativeness of error messages raised by Keras
            `Layer.__call__()`, by adding the full list of argument values passed to
            the layer in every exception.
    
    *   Introduce the `tf.compat.v1.keras.utils.track_tf1_style_variables`
        decorator, which enables using large classes of tf1-style variable_scope,
        `get_variable`, and `compat.v1.layer`-based components from within TF2
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  9. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    1F16A         ; mapped                 ; 006D 0063     # 6.1  RAISED MC SIGN
    1F16B         ; mapped                 ; 006D 0064     # 6.1  RAISED MD SIGN
    1F16C         ; mapped                 ; 006D 0072     # 12.0 RAISED MR SIGN
    1F16D..1F16F  ; valid                  ;      ; NV8    # 13.0 CIRCLED CC..CIRCLED HUMAN FIGURE
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
  10. fastapi/routing.py

                            }
                        ],
                        body=e.doc,
                    )
                    raise validation_error from e
                except HTTPException:
                    # If a middleware raises an HTTPException, it should be raised again
                    raise
                except Exception as e:
                    http_error = HTTPException(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top