Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 435 for fakeFs (0.04 sec)

  1. architecture/ambient/ztunnel.md

    Ztunnel was not designed to be a feature-rich data plane.
    Quite the opposite - an *aggressively* small feature set is the key feature that makes ztunnel viable.
    It very intentionally does not offer L7 (HTTP) functionality, for instance, which would likely violate some of the goals above, without contributing to them.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 17 23:10:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

            // Minimise test flakiness due to possible race conditions with connections closing.
            // Some number of tests will report here, but not fail due to this delay.
            println("Delaying to avoid flakes")
            Thread.sleep(500L)
            println("After delay: " + connectionPool.connectionCount())
          }
    
          connectionPool.evictAll()
          assertEquals(0, connectionPool.connectionCount()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. docs/pt/docs/index.md

    * Técnicas mais avançadas (mas igualmente fáceis) para declaração de **modelos JSON profundamente aninhados** (graças ao Pydantic).
    * Muitos recursos extras (graças ao Starlette) como:
        * **WebSockets**
        * **GraphQL**
        * testes extrememamente fáceis baseados em HTTPX e `pytest`
        * **CORS**
        * **Cookie Sessions**
        * ...e mais.
    
    ## Performance
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. docs/pt/docs/help-fastapi.md

    mesmo que você mesmo resolva o problema antes de perguntar. E no GitHub eu garanto que sempre irei responder todas as perguntas, mesmo que leve um tempo. Eu pessoalmente não consigo fazer isso via chat. 😅
    
    Conversas no chat não são tão fáceis de serem encontrados quanto no GitHub, então questões e respostas podem se perder dentro da conversa. E apenas as que estão nas questões do GitHub contam para você se tornar um [Expert em FastAPI](fastapi-people.md#especialistas){.internal-link target=_blank},...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/custom-response.md

    ```
    
    ### `HTMLResponse`
    
    Takes some text or bytes and returns an HTML response, as you read above.
    
    ### `PlainTextResponse`
    
    Takes some text or bytes and returns a plain text response.
    
    ```Python hl_lines="2  7  9"
    {!../../docs_src/custom_response/tutorial005.py!}
    ```
    
    ### `JSONResponse`
    
    Takes some data and returns an `application/json` encoded response.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial012_an.py

        response = client.get(
            "/items/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"}
        )
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Key header invalid"}
    
    
    def test_get_invalid_second_header_users():
        response = client.get(
            "/users/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"}
        )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. docs/en/docs/reference/httpconnection.md

    # `HTTPConnection` class
    
    When you want to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an `HTTPConnection` instead of a `Request` or a `WebSocket`.
    
    You can import it from `fastapi.requests`:
    
    ```python
    from fastapi.requests import HTTPConnection
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 359 bytes
    - Viewed (0)
  8. docs/changelogs/changelog_2x.md

        `Headers` class offers full access to the HTTP headers.
    
     *  **Okio dependency added.** OkHttp now depends on
        [Okio](https://github.com/square/okio), an I/O library that makes it easier
        to access, store and process data. Using this library internally makes OkHttp
        faster while consuming less memory. You can write a `RequestBody` as an Okio
        `BufferedSink` and a `ResponseBody` as an Okio `BufferedSource`. Standard
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_3x.md

     *  **OkHttpClient now implements the new `Call.Factory` interface.** This
        interface will make your code easier to test. When you test code that makes
        HTTP requests, you can use this interface to replace the real `OkHttpClient`
        with your own mocks or fakes.
    
        The interface will also let you use OkHttp's API with another HTTP client's
        implementation. This is useful in sandboxed environments like Google App
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  10. docs/en/docs/reference/dependencies.md

    # Dependencies - `Depends()` and `Security()`
    
    ## `Depends()`
    
    Dependencies are handled mainly with the special function `Depends()` that takes a callable.
    
    Here is the reference for it and its parameters.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Depends
    ```
    
    ::: fastapi.Depends
    
    ## `Security()`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 671 bytes
    - Viewed (0)
Back to top