Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 332 for routes (0.06 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

      @Throws(IOException::class)
      override fun authenticate(
        route: Route?,
        response: Response,
      ): Request? {
        val challenges = response.challenges()
        val request = response.request
        val url = request.url
        val proxyAuthorization = response.code == 407
        val proxy = route?.proxy ?: Proxy.NO_PROXY
    
        for (challenge in challenges) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. tests/test_annotated.py

        assert response.json() == {"foo": "baz"}
    
    
    def test_nested_router():
        app = FastAPI()
    
        router = APIRouter(prefix="/nested")
    
        @router.get("/test")
        async def test(var: Annotated[str, Query()] = "bar"):
            return {"foo": var}
    
        app.include_router(router)
    
        client = TestClient(app)
    
        response = client.get("/nested/test")
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. tests/test_modules_same_name_body/app/main.py

    from fastapi import FastAPI
    
    from . import a, b
    
    app = FastAPI()
    
    app.include_router(a.router, prefix="/a")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 28 17:35:16 UTC 2019
    - 150 bytes
    - Viewed (0)
  4. tests/test_modules_same_name_body/app/a.py

    from fastapi import APIRouter, Body
    
    router = APIRouter()
    
    
    @router.post("/compute")
    def compute(a: int = Body(), b: str = Body()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 160 bytes
    - Viewed (0)
  5. .github/workflows/release-notes.yml

    name: Check closed issue release notes
    
    on:
      issues:
        types: [ closed ]
    
    permissions: {}
    
    jobs:
      check_release_notes:
        permissions:
          issues: write
        runs-on: ubuntu-latest
        steps:
          # Check that release-note-worthy issues have a PR with release notes attached
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 15:13:53 UTC 2024
    - 344 bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/healthServer_test.go

    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestServer(t *testing.T) {
    	router := http.NewServeMux()
    	installReady, watchReady := initRouter(router)
    
    	assert.Equal(t, installReady.Load(), false)
    	assert.Equal(t, watchReady.Load(), false)
    
    	server := httptest.NewServer(router)
    	defer server.Close()
    
    	makeReq(t, server.URL, constants.LivenessEndpoint, http.StatusOK)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt

    class JavaNetAuthenticator : Authenticator {
      @Throws(IOException::class)
      override fun authenticate(
        route: Route?,
        response: Response,
      ): Request? = JAVA_NET_AUTHENTICATOR.authenticate(route, response)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

        }
      }
    
      override fun connectStart(
        route: Route,
        call: Call,
      ) = logEvent(ConnectionEvent.ConnectStart(System.nanoTime(), route, call))
    
      override fun connectFailed(
        route: Route,
        call: Call,
        failure: IOException,
      ) = logEvent(
        ConnectionEvent.ConnectFailed(System.nanoTime(), route, call, failure),
      )
    
      override fun connectEnd(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. istioctl/pkg/validate/validate_test.go

      - '.'
      hosts:
      - d
      http:
      - route:
        - destination:
            host: c
            subset: v1`
    	validVirtualService2JSON = `{
    "apiVersion": "networking.istio.io/v1alpha3",
    "kind": "VirtualService",
    "metadata": {
    	"name": "valid-virtual-service2"
    },
    "spec": {
    	"exportTo": [
    	"."
    	],
    	"hosts": [
    	"d"
    	],
    	"http": [
    	{
    		"route": [
    		{
    			"destination": {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  10. android-test-app/test-proguard-rules.pro

    Yuri Schimke <******@****.***> 1703342811 +0000
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 14:46:51 UTC 2023
    - 13 bytes
    - Viewed (0)
Back to top