Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for routes (0.17 sec)

  1. fastapi/routing.py

            app = FastAPI()
            internal_router = APIRouter()
            users_router = APIRouter()
    
            @users_router.get("/users/")
            def read_users():
                return [{"name": "Rick"}, {"name": "Morty"}]
    
            internal_router.include_router(users_router)
            app.include_router(internal_router)
            ```
            """
            if prefix:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  2. fastapi/applications.py

            ## Example
    
            ```python
            from fastapi import FastAPI
    
            from .users import users_router
    
            app = FastAPI()
    
            app.include_router(users_router)
            ```
            """
            self.router.include_router(
                router,
                prefix=prefix,
                tags=tags,
                dependencies=dependencies,
                responses=responses,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

        assertFailsWith<InterruptedIOException> {
          // If this succeeds, too many requests were made.
          client.newCall(request).execute()
        }
      }
    
      /**
       * Make a request with two routes. The first route will time out because it's connecting to a
       * special address that never connects. The automatic retry will succeed.
       */
      @Test
      fun connectTimeoutsAttemptsAlternateRoute() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  4. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    server port number for which this route configuration was generated. type: integer vhost: description: Match a specific virtual host in a route configuration and apply the patch to the virtual host. properties: name: description: The VirtualHosts objects generated by Istio are named as host:port, where the host typically corresponds to the VirtualService's host field or the hostname of a service in the registry. type: string route: description: Match a specific route within the virtual host. properties:...
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 198.1K bytes
    - Viewed (1)
  5. cmd/admin-handlers.go

    	hip, errCode := extractHealInitParams(mux.Vars(r), r.Form, r.Body)
    	if errCode != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    		return
    	}
    
    	// Analyze the heal token and route the request accordingly
    	token, success := proxyRequestByToken(ctx, w, r, hip.clientToken)
    	if success {
    		return
    	}
    	hip.clientToken = token
    	// if request was not successful, try this server locally if token
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          expected.assertSuppressed { throwables: List<Throwable>? ->
            assertThat(throwables!!.size).isEqualTo(1)
          }
        }
      }
    
      /**
       * When a pooled connection fails, don't blame the route. Otherwise pooled connection failures can
       * cause unnecessary SSL fallbacks.
       *
       * https://github.com/square/okhttp/issues/515
       */
      @Test
      fun sslFallbackNotUsedWhenRecycledConnectionFails() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  7. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // Submitted by Moritz Marquardt <******@****.***>
    codeberg.page
    
    // CoDNS B.V.
    co.nl
    co.no
    
    // Combell.com : https://www.combell.com
    // Submitted by Thomas Wouters <thomas.wouters@combellgroup.com>
    webhosting.be
    hosting-cluster.nl
    
    // Coordination Center for TLD RU and XN--P1AI : https://cctld.ru/en/domains/domens_ru/reserved/
    // Submitted by George Georgievsky <******@****.***>
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
Back to top