Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 250 for route (0.42 sec)

  1. docs/lambda/README.md

    import requests
    
    app = Flask(__name__)
    @app.route('/', methods=['POST'])
    def get_webhook():
    	if request.method == 'POST':
    		# obtain the request event from the 'POST' call
    		event = request.json
    
    		object_context = event["getObjectContext"]
    
    		# Get the presigned URL to fetch the requested
    		# original object from MinIO
    		s3_url = object_context["inputS3Url"]
    
    		# Extract the route and request token from the input context
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/middleware.md

    Zum Beispiel:
    
    ```Python
    app.add_middleware(MiddlewareA)
    app.add_middleware(MiddlewareB)
    ```
    
    Dies führt zu folgender Ausführungsreihenfolge:
    
    * **Request**: MiddlewareB → MiddlewareA → Route
    
    * **Response**: Route → MiddlewareA → MiddlewareB
    
    Dieses Stapelverhalten stellt sicher, dass Middlewares in einer vorhersehbaren und kontrollierbaren Reihenfolge ausgeführt werden.
    
    ## Andere Middlewares { #other-middlewares }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        )
    
        // logically different scope of client for route db
        assertNotSame(
          client.routeDatabase,
          client
            .newBuilder()
            .dns { listOf() }
            .build()
            .routeDatabase,
        )
        assertNotSame(
          client.routeDatabase,
          client
            .newBuilder()
            .proxyAuthenticator { _: Route?, _: Response? -> null }
            .build()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (1)
  4. samples/guide/src/main/java/okhttp3/recipes/Authenticate.java

    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class Authenticate {
      private final OkHttpClient client;
    
      public Authenticate() {
        client = new OkHttpClient.Builder()
            .authenticator((route, response) -> {
              if (response.request().header("Authorization") != null) {
                return null; // Give up, we've already attempted to authenticate.
              }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                return sdf.parse(value);
            } catch (final ParseException e) {
                return null;
            }
        }
    
        /**
         * Builds the HTTP route planner with proxy configuration.
         *
         * @return The configured route planner, or null if no proxy is configured
         */
        protected HttpRoutePlanner buildRoutePlanner() {
            if (routePlanner != null) {
                return routePlanner;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 53.7K bytes
    - Viewed (0)
  6. docs_src/wsgi/tutorial001_py39.py

    from fastapi import FastAPI
    from fastapi.middleware.wsgi import WSGIMiddleware
    from flask import Flask, request
    from markupsafe import escape
    
    flask_app = Flask(__name__)
    
    
    @flask_app.route("/")
    def flask_main():
        name = request.args.get("name", "World")
        return f"Hello, {escape(name)} from Flask!"
    
    
    app = FastAPI()
    
    
    @app.get("/v2")
    def read_main():
        return {"message": "Hello World"}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 443 bytes
    - Viewed (0)
  7. tests/test_dependency_wrapped.py

            "/wrapped-class-dependency-async-wrapper/",
            "/wrapped-endpoint-async-wrapper/",
            "/async-wrapped-endpoint-async-wrapper/",
        ],
    )
    def test_class_dependency(route):
        response = client.get(route)
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

      /** Returns a plan to attempt. */
      @Throws(IOException::class)
      fun plan(): Plan
    
      /**
       * Returns true if there's more route plans to try.
       *
       * @param failedConnection an optional connection that was resulted in a failure. If the failure
       *     is recoverable, the connection's route may be recovered for the retry.
       */
      fun hasNext(failedConnection: RealConnection? = null): Boolean
    
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt

        val sslV3 =
          ConnectionSpec
            .Builder(ConnectionSpec.MODERN_TLS)
            .tlsVersions(TlsVersion.SSL_3_0)
            .build()
        val routePlanner = factory.newRoutePlanner(client)
        val route = factory.newRoute()
        val connectionSpecs = listOf(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS, sslV3)
        val enabledSocketTlsVersions =
          arrayOf(
            TlsVersion.TLS_1_2,
            TlsVersion.TLS_1_1,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/main/resources/CLMessages.properties

    ECL0114=NoSuchAlgorithmException occurred, because {0}
    ECL0115=Failed to set accessible to the field: {0}
    ECL0116=Failed to set accessible to the method: {0}
    
    WCL0013=Protocol of URL({1}) corresponding to route package({0}) is unknown.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Mar 07 01:58:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top