Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for respond (0.23 sec)

  1. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * Protocol negotiation is only attempted for HTTPS URLs.
         *
         * [Protocol.HTTP_1_0] is not supported in this set. Requests are initiated with `HTTP/1.1`. If
         * the server responds with `HTTP/1.0`, that will be exposed by [Response.protocol].
         *
         * [alpn]: http://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg
         * [rfc_2616]: http://www.w3.org/Protocols/rfc2616/rfc2616.html
    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)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val response = call.execute()
    
        // Body contains nothing.
        assertThat(response.body.bytes().size).isEqualTo(0)
        assertThat(response.body.contentLength()).isEqualTo(0)
    
        // Content-Length header doesn't exist in a 204 response.
        assertThat(response.header("content-length")).isNull()
        assertThat(response.code).isEqualTo(204)
        val request = server.takeRequest()
    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)
  3. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // respond with a 410 ResourceExpired error together with a continue token. If the client needs a
      // consistent list, it must restart their list without the continue field. Otherwise, the client may
      // send another list request with the token received with the 410 error, the server will respond with
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    			// GCS may send multiple errors, just pick the first one
    			// since S3 only sends one Error XML response.
    			if len(e.Errors) >= 1 {
    				apiErr.Code = e.Errors[0].Reason
    			}
    		case azblob.StorageError:
    			apiErr = APIError{
    				Code:           string(e.ServiceCode()),
    				Description:    e.Error(),
    				HTTPStatusCode: e.Response().StatusCode,
    			}
    			// Add more other SDK related errors here if any in future.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  5. 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)
  6. 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)
  7. 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)
  8. tests/test_generate_unique_id_function.py

        @app.post(
            "/tocallback",
            response_model=List[Item],
            responses={404: {"model": List[Message]}},
        )
        def post_with_callback(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        client = TestClient(app)
        response = client.get("/openapi.json")
        data = response.json()
        assert data == {
            "openapi": "3.1.0",
    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)
  9. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                break;
            case FAVORITE:
                processFavoriteRequest(request, response, chain);
                break;
            case FAVORITES:
                processFavoritesRequest(request, response, chain);
                break;
            case PING:
                processPingRequest(request, response, chain);
                break;
            case SCROLL:
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  10. internal/s3select/select_test.go

    			w := &testResponseWriter{}
    			s3Select.Evaluate(w)
    			s3Select.Close()
    
    			if !reflect.DeepEqual(w.response, testCase.expectedResult) {
    				resp := http.Response{
    					StatusCode:    http.StatusOK,
    					Body:          io.NopCloser(bytes.NewReader(w.response)),
    					ContentLength: int64(len(w.response)),
    				}
    				res, err := minio.NewSelectResults(&resp, "testbucket")
    				if err != nil {
    					t.Error(err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
Back to top