Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 1,592 for Response_ (0.1 sec)

  1. docs/pl/docs/tutorial/first-steps.md

        "info": {
            "title": "FastAPI",
            "version": "0.1.0"
        },
        "paths": {
            "/items/": {
                "get": {
                    "responses": {
                        "200": {
                            "description": "Successful Response",
                            "content": {
                                "application/json": {
    
    
    
    ...
    ```
    
    #### Do czego służy OpenAPI
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:51:30 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. docs/pt/docs/how-to/general.md

    ## Filtro de dados- Segurança
    
    Para assegurar que você não vai retornar mais dados do que deveria, leia a seção [Tutorial - Response Model - Return Type](../tutorial/response-model.md){.internal-link target=_blank}.
    
    ## Tags de Documentação - OpenAPI
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 12 02:41:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/error/redirect.jsp

    		redirectPage.append("/error/systemerror/");
    		response.sendRedirect(redirectPage.toString());
    	} else {
    		response.sendError(statusCode);
    	}
    } else if("logOut".equals(type)) {
    	redirectPage.append("/login/?type=logout&code=" + statusCode);
    	response.sendRedirect(redirectPage.toString());
    } else if("badRequest".equals(type)) {
    	redirectPage.append("/error/badrequest/");
    	response.sendRedirect(redirectPage.toString());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/orig/view/error/redirect.jsp

    		redirectPage.append("/error/systemerror/");
    		response.sendRedirect(redirectPage.toString());
    	} else {
    		response.sendError(statusCode);
    	}
    } else if("logOut".equals(type)) {
    	redirectPage.append("/login/?type=logout&code=" + statusCode);
    	response.sendRedirect(redirectPage.toString());
    } else if("badRequest".equals(type)) {
    	redirectPage.append("/error/badrequest/");
    	response.sendRedirect(redirectPage.toString());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. tests/test_response_model_invalid.py

        with pytest.raises(FastAPIError):
            app = FastAPI()
    
            @app.get("/", responses={"500": {"model": NonPydanticModel}})
            def read_root():
                pass  # pragma: nocover
    
    
    def test_invalid_response_model_sub_type_in_responses_raises():
        with pytest.raises(FastAPIError):
            app = FastAPI()
    
            @app.get("/", responses={"500": {"model": List[NonPydanticModel]}})
            def read_root():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 29 13:04:35 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

            }
          },
        )
    
        val response = promise.get(4, SECONDS)
    
        assertThat(response).isNotNull()
    
        assertThat(response.body.string()).isNotEmpty()
    
        if (socketMode is TlsInstance) {
          assertThat(response.handshake!!.tlsVersion).isEqualTo(socketMode.tlsVersion)
    
          assertThat(acceptedHostName).isEqualTo(hostname)
    
          if (socketMode.tlsExtensionMode == STANDARD) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. tests/test_http_connection_injection.py

        await websocket.accept()
        await websocket.send_json(value)
        await websocket.close()
    
    
    client = TestClient(app)
    
    
    def test_value_extracting_by_http():
        response = client.get("/http")
        assert response.status_code == 200
        assert response.json() == 42
    
    
    def test_value_extracting_by_ws():
        with client.websocket_connect("/ws") as websocket:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 13:56:41 UTC 2020
    - 972 bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/Request.java

     * @author mbechler
     * @param <T>
     *            response type
     *
     */
    public interface Request <T extends CommonServerMessageBlockResponse> extends CommonServerMessageBlockRequest {
    
        /**
         * 
         * @param tc
         * @return the initialized response
         * @internal
         */
        public T initResponse ( CIFSContext tc );
    
    
        /**
         * 
         * @return the response message
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      }
    
      @Throws(IOException::class)
      internal fun checkUpgradeSuccess(
        response: Response,
        exchange: Exchange?,
      ) {
        if (response.code != 101) {
          throw ProtocolException(
            "Expected HTTP 101 response but was '${response.code} ${response.message}'",
          )
        }
    
        val headerConnection = response.header("Connection")
        if (!"Upgrade".equals(headerConnection, ignoreCase = true)) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. docs/sts/custom-token-identity.md

    ## API Response
    
    XML response for this API is similar to [AWS STS AssumeRoleWithWebIdentity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html#API_AssumeRoleWithWebIdentity_ResponseElements)
    
    ## Example request and response
    
    Sample request with `curl`:
    
    ```sh
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 3K bytes
    - Viewed (0)
Back to top