Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 308 for Wouters (0.05 seconds)

  1. docs/fr/docs/advanced/middleware.md

    ## `HTTPSRedirectMiddleware` { #httpsredirectmiddleware }
    
    Impose que toutes les requêtes entrantes soient soit `https`, soit `wss`.
    
    Toute requête entrante en `http` ou `ws` sera redirigée vers le schéma sécurisé correspondant.
    
    {* ../../docs_src/advanced_middleware/tutorial001_py310.py hl[2,6] *}
    
    ## `TrustedHostMiddleware` { #trustedhostmiddleware }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  2. docs/ko/docs/how-to/extending-openapi.md

    * `version`: API 버전. 예: `2.5.0`.
    * `openapi_version`: 사용되는 OpenAPI 스펙 버전. 기본값은 최신인 `3.1.0`.
    * `summary`: API에 대한 짧은 요약.
    * `description`: API 설명. markdown을 포함할 수 있으며 문서에 표시됩니다.
    * `routes`: 라우트 목록. 각각 등록된 *경로 처리*입니다. `app.routes`에서 가져옵니다.
    
    /// info | 정보
    
    `summary` 파라미터는 OpenAPI 3.1.0 이상에서 사용할 수 있으며, FastAPI 0.99.0 이상에서 지원됩니다.
    
    ///
    
    ## 기본값 덮어쓰기 { #overriding-the-defaults }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  3. tests/test_sub_callbacks.py

    def event_callback(event: Event):
        pass  # pragma: nocover
    
    
    subrouter = APIRouter()
    
    
    @subrouter.post("/invoices/", callbacks=invoices_callback_router.routes)
    def create_invoice(invoice: Invoice, callback_url: HttpUrl | None = None):
        """
        Create an invoice.
    
        This will (let's imagine) let the API user (some external developer) create an
        invoice.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

    public class SynchronizedQueueTest extends TestCase {
    
      protected Queue<String> create() {
        TestQueue<String> inner = new TestQueue<>();
        Queue<String> outer = Synchronized.queue(inner, inner.mutex);
        outer.add("foo"); // necessary because we try to remove elements later on
        return outer;
      }
    
      private static final class TestQueue<E> implements Queue<E> {
        private final Queue<E> delegate = new LinkedList<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. docs_src/custom_request_and_route/tutorial001_py310.py

                request = GzipRequest(request.scope, request.receive)
                return await original_route_handler(request)
    
            return custom_route_handler
    
    
    app = FastAPI()
    app.router.route_class = GzipRoute
    
    
    @app.post("/sum")
    async def sum_numbers(numbers: list[int] = Body()):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 976 bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/base/CaseFormatTest.java

            .isEqualTo("fooBar");
      }
    
      public void testConverter_nullConversions() {
        for (CaseFormat outer : CaseFormat.values()) {
          for (CaseFormat inner : CaseFormat.values()) {
            assertThat(outer.converterTo(inner).convert(null)).isNull();
            assertThat(outer.converterTo(inner).reverse().convert(null)).isNull();
          }
        }
      }
    
      public void testConverter_toString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

        // https://daniel.haxx.se/blog/2016/08/18/http2-connection-coalescing/
    
        // 1. This connection must be HTTP/2.
        if (http2Connection == null) return false
    
        // 2. The routes must share an IP address.
        if (routes == null || !routeMatchesAny(routes)) return false
    
        // 3. This connection's server certificates must cover the new host.
        if (address.hostnameVerifier !== OkHostnameVerifier) return false
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  8. docs_src/custom_request_and_route/tutorial001_an_py310.py

                request = GzipRequest(request.scope, request.receive)
                return await original_route_handler(request)
    
            return custom_route_handler
    
    
    app = FastAPI()
    app.router.route_class = GzipRoute
    
    
    @app.post("/sum")
    async def sum_numbers(numbers: Annotated[list[int], Body()]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 1015 bytes
    - Click Count (0)
  9. cmd/test-utils_test.go

    func registerAPIFunctions(muxRouter *mux.Router, objLayer ObjectLayer, apiFunctions ...string) {
    	if len(apiFunctions) == 0 {
    		// Register all api endpoints by default.
    		registerAPIRouter(muxRouter)
    		return
    	}
    	// API Router.
    	apiRouter := muxRouter.PathPrefix(SlashSeparator).Subrouter()
    	// Bucket router.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  10. docs/zh/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[17:19] *}
    
    ## 在路由器中自定义 `APIRoute` 类 { #custom-apiroute-class-in-a-router }
    
    你也可以设置 `APIRouter` 的 `route_class` 参数:
    
    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    在此示例中,`router` 下的路径操作将使用自定义的 `TimedRoute` 类,响应中会多一个 `X-Response-Time` 头,包含生成响应所用的时间:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.1K bytes
    - Click Count (0)
Back to Top