Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 115 for 49 (0.17 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 Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. docs/en/docs/img/deployment/https/https03.drawio

                                <mxPoint x="-40" y="290"/>
                            </Array>
                        </mxGeometry>
                    </mxCell>
                    <mxCell id="49" value="" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;strokeWidth=4;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
                        <mxGeometry x="510" y="400" width="310" height="320" as="geometry"/>
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(3, 20);
        cache.put(6, 2);
        cache.put(98, 45);
        cache.put(56, 76);
        cache.put(23, 84);
    
        // Replace the two present elements.
        cache.put(23, 20);
        cache.put(56, 49);
        cache.put(23, 2);
        cache.put(56, 4);
    
        // Expire the two present elements.
        fakeTicker.advance(1001, TimeUnit.MILLISECONDS);
    
        cache.getIfPresent(23);
        cache.getIfPresent(56);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 15K 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 Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/MathTesting.java

        longValues.add(Integer.MAX_VALUE + 1L, Long.MAX_VALUE - 1L, Long.MAX_VALUE);
    
        // Now add values near 2^N for lots of values of N.
        for (int exponent : asList(32, 33, 39, 40, 41, 47, 48, 49, 55, 56, 57)) {
          long x = 1L << exponent;
          longValues.add(x, x + 1, x - 1);
        }
        longValues.add(194368031998L).add(194368031999L); // sqrt(2^75) rounded up and down
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  6. 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 Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:28:29 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. docs/en/docs/img/deployment/https/https05.drawio

                                <mxPoint x="-40" y="290"/>
                            </Array>
                        </mxGeometry>
                    </mxCell>
                    <mxCell id="49" value="" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;strokeWidth=4;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
                        <mxGeometry x="510" y="400" width="310" height="320" as="geometry"/>
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 15.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        // Now we check for known false positives using a set of known false positives.
        // (These are all of the false positives under 900.)
        ImmutableSet<Integer> falsePositives =
            ImmutableSet.of(
                49, 51, 59, 163, 199, 321, 325, 363, 367, 469, 545, 561, 727, 769, 773, 781);
        for (int i = 1; i < 900; i += 2) {
          if (!falsePositives.contains(i)) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/handling-errors.md

    &amp; ⏪ 👆 🔧 ⚫️, 👆 👩‍💻/👩‍💻 🚫🔜 🚫 ✔️ 🔐 🔗 ℹ 🔃 ❌, 👈 💪 🎦 💂‍♂ ⚠.
    
    ### 🔐 `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 Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar

    META-INF/MANIFEST.MF Manifest-Version: 1.0 Ant-Version: Apache Ant 1.8.1 Created-By: 1.6.0_33-b03 (Sun Microsystems Inc.) Implementation-Title: hamcrest-core Implementation-Vendor: hamcrest.org Implementation-Version: 1.3 Built-By: tom Built-Date: 2012-07-09 19:49:34 LICENSE.txt BSD License Copyright (c) 2000-2006, www.hamcrest.org All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 44K bytes
    - Viewed (0)
Back to top