Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 1,560 for respond (0.1 sec)

  1. docs/de/docs/tutorial/extra-models.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1  20"
    {!> ../../docs_src/extra_models/tutorial004.py!}
    ```
    
    ////
    
    ## Response mit beliebigem `dict`
    
    Sie könne auch eine Response deklarieren, die ein beliebiges `dict` zurückgibt, bei dem nur die Typen der Schlüssel und der Werte bekannt sind, ohne ein Pydantic-Modell zu verwenden.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. fastapi/background.py

                    """
                    The function to call after the response is sent.
    
                    It can be a regular `def` function or an `async def` function.
                    """
                ),
            ],
            *args: P.args,
            **kwargs: P.kwargs,
        ) -> None:
            """
            Add a function to be called in the background after the response is sent.
    
            Read more about it in the
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

    import org.lastaflute.web.validation.VaMessenger;
    
    import jakarta.servlet.http.HttpServletRequest;
    
    public class ApiResult {
    
        protected ApiResponse response = null;
    
        public ApiResult(final ApiResponse response) {
            this.response = response;
        }
    
        public enum Status {
            OK(0), BAD_REQUEST(1), SYSTEM_ERROR(2), UNAUTHORIZED(3), FAILED(9);
    
            private final int id;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_websockets/test_tutorial002.py

    from fastapi.websockets import WebSocketDisconnect
    
    from docs_src.websockets.tutorial002 import app
    
    
    def test_main():
        client = TestClient(app)
        response = client.get("/")
        assert response.status_code == 200, response.text
        assert b"<!DOCTYPE html>" in response.content
    
    
    def test_websocket_with_cookie():
        client = TestClient(app, cookies={"session": "fakesession"})
        with pytest.raises(WebSocketDisconnect):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 13 14:26:09 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/middleware.md

    ## 创建中间件
    
    要创建中间件你可以在函数的顶部使用装饰器 `@app.middleware("http")`.
    
    中间件参数接收如下参数:
    
    * `request`.
    * 一个函数 `call_next` 它将接收 `request` 作为参数.
        * 这个函数将 `request` 传递给相应的 *路径操作*.
        * 然后它将返回由相应的*路径操作*生成的 `response`.
    * 然后你可以在返回 `response` 前进一步修改它.
    
    ```Python hl_lines="8-9  11  14"
    {!../../docs_src/middleware/tutorial001.py!}
    ```
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. .github/workflows/stale-issues.yml

              close-issue-reason: completed
              # List of labels to remove when issues/PRs unstale. 
              labels-to-remove-when-unstale: 'stat:awaiting response'
              only-labels: "stat:awaiting response"
              stale-issue-message: > 
                This issue is stale because it has been open for 7 days with no activity.
                It will be closed if no further activity occurs. Thank you.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jun 26 15:41:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/GroupTests.java

        protected void checkUpdate() {
            Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("size", NUM * 2);
            String response = checkGetMethod(searchBody, getListEndpointSuffix()).asString();
            List<Map<String, String>> attrList = JsonPath.from(response).getList(getJsonPath() + ".attributes");
            assertEquals(NUM, attrList.size());
            for (Map<String, String> attr : attrList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmSsp.java

         * for the specified servlet request.
         * 
         * @param tc
         *
         * @param req
         *            The request being serviced.
         * @param resp
         *            The response.
         * @param challenge
         *            The domain controller challenge.
         * @return credentials passed in the servlet request
         * @throws IOException
         *             If an IO error occurs.
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  9. internal/config/browser/help.go

    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         browserCSPPolicy,
    			Description: `set Content-Security-Policy response header value` + defaultHelpPostfix(browserCSPPolicy),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         browserHSTSSeconds,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 01 16:36:33 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. okhttp/api/okhttp.api

    	public fun message (Ljava/lang/String;)Lokhttp3/Response$Builder;
    	public fun networkResponse (Lokhttp3/Response;)Lokhttp3/Response$Builder;
    	public fun priorResponse (Lokhttp3/Response;)Lokhttp3/Response$Builder;
    	public fun protocol (Lokhttp3/Protocol;)Lokhttp3/Response$Builder;
    	public fun receivedResponseAtMillis (J)Lokhttp3/Response$Builder;
    	public fun removeHeader (Ljava/lang/String;)Lokhttp3/Response$Builder;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top