Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 3,938 for httpx (0.03 sec)

  1. 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 Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

                    id 'gradlebuild.documentation'
                }
    
                gradleDocumentation {
                    javadocs {
                        javaApi = project.uri("https://docs.oracle.com/javase/8/docs/api")
                        groovyApi = project.uri("https://docs.groovy-lang.org/docs/groovy-3/html/gapi")
                    }
                }
    
                javadocAll {
                    enabled = false
                }
    
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. ci/official/pycpp.sh

    fi
    
    # Note: the profile can be viewed by visiting chrome://tracing in a Chrome browser.
    # See https://docs.bazel.build/versions/main/skylark/performance.html#performance-profiling
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Wed Oct 23 18:48:35 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

                return classNameElement;
            }
    
            if (className.startsWith("java.")) {
                Element linkElement = document.createElement("ulink");
                linkElement.setAttribute("url", String.format("https://docs.oracle.com/javase/%s/docs/api/%s.html", javaVersion,
                        className.replace(".", "/")));
                Element classNameElement = document.createElement("classname");
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  5. cmd/config-dir.go

    	certsCADir = "CAs"
    
    	// Public certificate file for HTTPS.
    	publicCertFile = "public.crt"
    
    	// Private key file for HTTPS.
    	privateKeyFile = "private.key"
    )
    
    // ConfigDir - points to a user set directory.
    type ConfigDir struct {
    	path string
    }
    
    func getDefaultConfigDir() string {
    	homeDir, err := homedir.Dir()
    	if err != nil {
    		return ""
    	}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 3K bytes
    - Viewed (0)
  6. docs/fr/docs/advanced/additional-responses.md

    * <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#responsesObject" class="external-link" target="_blank">Objet Responses de OpenAPI </a>, il inclut le `Response Object`.
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. docs/en/docs/fastapi-cli.md

     <span style="background-color:#C4A000"><font color="#2E3436">│  Serving at: http://127.0.0.1:8000                  │</font></span>
     <span style="background-color:#C4A000"><font color="#2E3436">│                                                     │</font></span>
     <span style="background-color:#C4A000"><font color="#2E3436">│  API docs: http://127.0.0.1:8000/docs               │</font></span>
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

            return adjustIndentation(initialString) + "\n"
        }
    
        /**
         * It appears there is no way to configure Gson to use 4 spaces instead of 2 for indentation.
         *
         * See: https://github.com/google/gson/blob/master/UserGuide.md#TOC-Compact-Vs.-Pretty-Printing-for-JSON-Output-Format
         */
        private
        fun adjustIndentation(initalJsonString: String): String {
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. docs/distributed/decom-encrypted.sh

    policy_count=$(./mc admin policy list myminio/ | wc -l)
    
    kill $pid
    
    (minio server http://localhost:9000/tmp/xl/{1...10}/disk{0...1} http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/expanded_1.log) &
    pid_1=$!
    
    (minio server --address ":9001" http://localhost:9000/tmp/xl/{1...10}/disk{0...1} http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/expanded_2.log) &
    pid_2=$!
    
    ./mc ready myminio
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/config.yml

    blank_issues_enabled: false
    contact_links:
      - name: Ask for help
        url: http://help.gradle.org/
        about: If you need help with Gradle or have a usage question, please reach our community instead of creating an issue.
      - name: Create an issue without template
        url: https://github.com/gradle/gradle/issues/new
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Thu Apr 06 11:10:39 UTC 2023
    - 387 bytes
    - Viewed (0)
Back to top