Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for 1212 (0.13 sec)

  1. docs/en/docs/tutorial/handling-errors.md

    The same way, you can override the `HTTPException` handler.
    
    For example, you could want to return a plain text response instead of JSON for these errors:
    
    ```Python hl_lines="3-4  9-11  22"
    {!../../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    !!! note "Technical Details"
        You could also use `from starlette.responses import PlainTextResponse`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/handling-errors.md

    Genauso können Sie den `HTTPException`-Handler überschreiben.
    
    Zum Beispiel könnten Sie eine Klartext-Response statt JSON für diese Fehler zurückgeben wollen:
    
    ```Python hl_lines="3-4  9-11  22"
    {!../../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    !!! note "Technische Details"
        Sie können auch `from starlette.responses import PlainTextResponse` verwenden.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:28:29 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/handling-errors.md

    Do mesmo modo, você pode sobreescrever o `HTTPException`.
    
    Por exemplo, você pode querer retornar uma *response* em *plain text* ao invés de um JSON para os seguintes erros:
    
    ```Python hl_lines="3-4  9-11  22"
    {!../../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    !!! note "Detalhes Técnicos"
        Você pode usar `from starlette.responses import PlainTextResponse`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/handling-errors.md

    修复错误时,客户端或用户不能访问错误的内部信息,否则会造成安全隐患。
    
    ### 覆盖 `HTTPException` 错误处理器
    
    同理,也可以覆盖 `HTTPException` 处理器。
    
    例如,只为错误返回纯文本响应,而不是返回 JSON 格式的内容:
    
    ```Python hl_lines="3-4  9-11  22"
    {!../../../docs_src/handling_errors/tutorial004.py!}
    
    ```
    
    !!! note "技术细节"
    
        还可以使用 `from starlette.responses import PlainTextResponse`。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. cmd/apierrorcode_string.go

    dminNoSecretKeyapiErrCodeEnd"
    
    var _APIErrorCode_index = [...]uint16{0, 4, 16, 25, 39, 53, 67, 81, 94, 112, 129, 144, 161, 174, 186, 208, 228, 254, 268, 289, 306, 321, 344, 361, 379, 396, 420, 435, 456, 474, 486, 506, 523, 546, 567, 579, 597, 618, 646, 676, 697, 720, 746, 783, 813, 846, 871, 903, 933, 962, 987, 1009, 1035, 1057, 1085, 1114, 1148, 1179, 1216, 1240, 1264, 1292, 1318, 1349, 1379, 1388, 1400, 1416, 1429, 1443, 1461, 1481, 1502, 1518, 1529, 1545, 1556, 1584, 1604, 1620, 1648,...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/custom-response.md

    This includes many libraries to interact with cloud storage, video processing, and others.
    
    ```{ .python .annotate hl_lines="2  10-12  14" }
    {!../../../docs_src/custom_response/tutorial008.py!}
    ```
    
    1. This is the generator function. It's a "generator function" because it contains `yield` statements inside.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/custom-response.md

    Das umfasst viele Bibliotheken zur Interaktion mit Cloud-Speicher, Videoverarbeitung und anderen.
    
    ```{ .python .annotate hl_lines="2  10-12  14" }
    {!../../../docs_src/custom_response/tutorial008.py!}
    ```
    
    1. Das ist die Generatorfunktion. Es handelt sich um eine „Generatorfunktion“, da sie `yield`-Anweisungen enthält.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 23 13:05:12 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/handling-errors.md

    & ⏪ 👆 🔧 ⚫️, 👆 👩‍💻/👩‍💻 🚫🔜 🚫 ✔️ 🔐 🔗 ℹ 🔃 ❌, 👈 💪 🎦 💂‍♂ ⚠.
    
    ### 🔐 `HTTPException` ❌ 🐕‍🦺
    
    🎏 🌌, 👆 💪 🔐 `HTTPException` 🐕‍🦺.
    
    🖼, 👆 💪 💚 📨 ✅ ✍ 📨 ↩️ 🎻 👫 ❌:
    
    ```Python hl_lines="3-4  9-11  22"
    {!../../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    !!! note "📡 ℹ"
        👆 💪 ⚙️ `from starlette.responses import PlainTextResponse`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  9. .teamcity/performance-test-durations.json

    }, {
      "scenario" : "org.gradle.performance.regression.android.RealLifeAndroidBuildPerformanceTest.clean phthalic:assembleDebug with clean transforms cache",
      "durations" : [ {
        "testProject" : "largeAndroidBuild",
        "linux" : 1210
      } ]
    }, {
      "scenario" : "org.gradle.performance.regression.android.RealLifeAndroidBuildPerformanceTest.run assembleDebug",
      "durations" : [ {
        "testProject" : "largeAndroidBuild",
        "linux" : 831
      }, {
    Json
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Feb 19 11:22:56 GMT 2024
    - 26.3K bytes
    - Viewed (1)
  10. docs/changelogs/changelog_4x.md

        proxy selection process.
     *  New: `Response.byteString()` reads the entire response into memory as a byte string.
     *  New: `OkHttpClient.x509TrustManager` accessor.
     *  New: Permit [new WebSocket response codes][iana_websocket]: 1012 (Service Restart), 1013 (Try
        Again Later), and 1014 (invalid response from the upstream).
     *  New: Build with Kotlin 1.3.41, BouncyCastle 1.62, and Conscrypt 2.2.1.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
Back to top