Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for responseCh (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("")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 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()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  3. tests/test_application.py

        assert response.status_code == 200, response.text
        assert response.headers["content-type"] == "text/html; charset=utf-8"
        assert "window.opener.swaggerUIRedirectOauth2" in response.text
    
    
    def test_redoc():
        response = client.get("/redoc")
        assert response.status_code == 200, response.text
        assert response.headers["content-type"] == "text/html; charset=utf-8"
        assert "redoc@next" in response.text
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
  4. tests/test_generate_unique_id_function.py

        router = APIRouter()
    
        @app.post("/", response_model=List[Item], responses={404: {"model": List[Message]}})
        def post_root(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        @router.post(
            "/router", response_model=List[Item], responses={404: {"model": List[Message]}}
        )
        def post_router(item1: Item, item2: Item):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  5. 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,
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
  6. 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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K 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) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 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?) =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	// generate response
    	response := generateListMultipartUploadsResponse(bucket, listMultipartsInfo, encodingType)
    	encodedSuccessResponse := encodeResponse(response)
    
    	// write success response.
    	writeSuccessResponseXML(w, encodedSuccessResponse)
    }
    
    // ListBucketsHandler - GET Service.
    // -----------
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
            else {
                request.setResponse(response);
            }
            if ( response == null ) {
                throw new IOException("Invalid response");
            }
            return response;
        }
    
    
        @Override
        protected <T extends Response> boolean handleIntermediate ( Request request, T response ) {
            if ( !this.smb2 ) {
                return false;
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
Back to top