Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 821 for requestId (0.1 sec)

  1. tests/test_router_events.py

        router.include_router(sub_router)
    
        app = FastAPI(lifespan=lifespan)
        app.include_router(router)
    
        @app.get("/")
        def main(request: Request) -> Dict[str, str]:
            assert request.state.app
            assert request.state.router
            assert request.state.sub_router
            return {"message": "Hello World"}
    
        assert state.app_startup is False
        assert state.router_startup is False
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 19:09:52 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. internal/grid/connection_test.go

    		t.Helper()
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    	wrapServer := func(handler http.Handler) http.Handler {
    		return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    			t.Logf("Got a %s request for: %v", r.Method, r.URL)
    			handler.ServeHTTP(w, r)
    		})
    	}
    	connReady := make(chan struct{})
    	// We fake a local and remote server.
    	localHost := hosts[0]
    	remoteHost := hosts[1]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:44:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. cmd/kms-handlers.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // KMSStatusHandler - GET /minio/kms/v1/status
    func (a kmsAPIHandlers) KMSStatusHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "KMSStatus")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.KMSStatusAction)
    	if objectAPI == nil {
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/feature_request.md

    ---
    name: Feature request
    about: Suggest an idea to improve Istio
    
    ---
    (This is used to request new product features, please visit <https://github.com/istio/istio/discussions> for questions on using Istio)
    
    **Describe the feature request**
    
    **Describe alternatives you've considered**
    
    **Affected product area (please put an X in all that apply)**
    
    [ ] Ambient
    [ ] Docs
    [ ] Dual Stack
    [ ] Installation
    [ ] Networking
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Feb 12 19:42:48 UTC 2024
    - 707 bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

            field.set(reader, eventDispatcher);
    
            ArtifactDescriptorRequest request = new ArtifactDescriptorRequest();
    
            request.addRepository(newTestRepository());
    
            request.setArtifact(new DefaultArtifact("org.apache.maven.its", "dep-mng5459", "jar", "0.4.0-SNAPSHOT"));
    
            // execute
            reader.readArtifactDescriptor(session, request);
    
            // verify
            verify(eventDispatcher).dispatch(event.capture());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. docs/zh/docs/contributing.md

    /// tip
    
    你可以为已有的 pull requests <a href="https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request" class="external-link" target="_blank">添加包含修改建议的评论</a>。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

        }
    
        public ResolutionGroup retrieve(MetadataResolutionRequest request) throws ArtifactMetadataRetrievalException {
            return retrieve(request.getArtifact(), request.getLocalRepository(), request.getRemoteRepositories());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. docs/ja/docs/alternatives.md

    ///
    
    ### <a href="http://docs.python-requests.org" class="external-link" target="_blank">Requests</a>
    
    **FastAPI**は実際には**Requests**の代替ではありません。それらのスコープは大きく異なります。
    
    実際にはFastAPIアプリケーションの*内部*でRequestsを使用するのが一般的です。
    
    しかし、FastAPIはRequestsからかなりのインスピレーションを得ています。
    
    **Requests**は (クライアントとして) APIと*通信*するためのライブラリであり、**FastAPI**は (サーバーとして) APIを*構築*するためのライブラリです。
    
    これらは多かれ少なかれ両端にあり、お互いを補完し合っています。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  9. okhttp-sse/api/okhttp-sse.api

    public abstract interface class okhttp3/sse/EventSource {
    	public abstract fun cancel ()V
    	public abstract fun request ()Lokhttp3/Request;
    }
    
    public abstract interface class okhttp3/sse/EventSource$Factory {
    	public abstract fun newEventSource (Lokhttp3/Request;Lokhttp3/sse/EventSourceListener;)Lokhttp3/sse/EventSource;
    }
    
    public abstract class okhttp3/sse/EventSourceListener {
    	public fun <init> ()V
    	public fun onClosed (Lokhttp3/sse/EventSource;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 14:39:59 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ResponseCommonTest.kt

        assertThat(response.code).isEqualTo(0)
      }
    
      @Test fun defaultResponseBodyIsEmpty() {
        val response =
          Response.Builder()
            .request(
              Request.Builder()
                .url("https://example.com/")
                .build(),
            )
            .protocol(Protocol.HTTP_1_1)
            .code(200)
            .message("OK")
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top