Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for Response_ (0.22 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

              call: Call,
              response: Response,
            ) {
              responses.offer(response.body.string())
            }
          }
    
        // Make the first request waiting until we get our auth challenge.
        val request = Request(server.url("/"))
        blockingAuthClient.newCall(request).enqueue(callback)
        val response1 = responses.take()
        assertThat(response1).isEqualTo("")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/EventListenerTest.kt

              .build(),
          )
        var response = call.execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("abc")
        response.close()
        listener.clearAllEvents()
        call = call.clone()
        response = call.execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("abc")
        response.close()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  3. tests/test_generate_unique_id_function.py

                        },
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "title": "Response Foo Post Root",
                                            "type": "array",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jan 13 15:10:26 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  4. tests/test_application.py

        assert "redoc@next" in response.text
    
    
    def test_enum_status_code_response():
        response = client.get("/enum-status-code")
        assert response.status_code == 201, response.text
        assert response.json() == "foo bar"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_3x.md

        enforce strict null checks.
    
     *  New: The response message is now non-null. This is the "Not Found" in the
        status line "HTTP 404 Not Found". If you are building responses
        programmatically (with `new Response.Builder()`) you must now always supply
        a message. An empty string `""` is permitted. This value was never null on
        responses returned by OkHttp itself, and it was an old mistake to permit
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

        @Override
        public <Request extends ActionRequest, Response extends ActionResponse> ActionFuture<Response> execute(
                final ActionType<Response> action, final Request request) {
            return client.execute(action, request);
        }
    
        @Override
        public <Request extends ActionRequest, Response extends ActionResponse> void execute(final ActionType<Response> action,
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

                            // response
                            if ( negoResp.getSelectedDialect().atLeast(DialectVersion.SMB300) || response.isSigned() ) {
                                response.setDigest(dgst);
                                byte[] payload = response.getRawPayload();
                                if ( !response.verifySignature(payload, 0, payload.length) ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * outgoing HTTP requests.
         *
         * If unset, [no cookies][CookieJar.NO_COOKIES] will be accepted nor provided.
         */
        fun cookieJar(cookieJar: CookieJar) =
          apply {
            this.cookieJar = cookieJar
          }
    
        /** Sets the response cache to be used to read and write cached responses. */
        fun cache(cache: Cache?) =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  9. src/net/http/httputil/reverseproxy_test.go

    	}
    }
    
    type failingRoundTripper struct{}
    
    func (failingRoundTripper) RoundTrip(*http.Request) (*http.Response, error) {
    	return nil, errors.New("some error")
    }
    
    type staticResponseRoundTripper struct{ res *http.Response }
    
    func (rt staticResponseRoundTripper) RoundTrip(*http.Request) (*http.Response, error) {
    	return rt.res, nil
    }
    
    func TestReverseProxyErrorHandler(t *testing.T) {
    	tests := []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  10. src/net/http/transport.go

    	// OnProxyConnectResponse is called when the Transport gets an HTTP response from
    	// a proxy for a CONNECT request. It's called before the check for a 200 OK response.
    	// If it returns an error, the request fails with that error.
    	OnProxyConnectResponse func(ctx context.Context, proxyURL *url.URL, connectReq *Request, connectRes *Response) error
    
    	// DialContext specifies the dial function for creating unencrypted TCP connections.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top