Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 1,772 for request (0.09 sec)

  1. docs/zh/docs/tutorial/handling-errors.md

    {"message": "Oops! yolo did something. There goes a rainbow..."}
    
    ```
    
    /// note | "技术细节"
    
    `from starlette.requests import Request` 和 `from starlette.responses import JSONResponse` 也可以用于导入 `Request` 和 `JSONResponse`。
    
    **FastAPI** 提供了与 `starlette.responses` 相同的 `fastapi.responses` 作为快捷方式,但大部分响应操作都可以直接从 Starlette 导入。同理,`Request` 也是如此。
    
    ///
    
    ## 覆盖默认异常处理器
    
    **FastAPI** 自带了一些默认异常处理器。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

        val call = client.newCall(Request(url = url))
        val response = call.execute()
        assertThat(response.isSuccessful).isTrue()
    
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.handshakeServerNames).containsExactly(url.host)
      }
    
      /**
       * Use different hostnames for the TLS handshake (including SNI) and the HTTP request (in the
       * Host header).
       */
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java

         * and constructing the appropriate InvokerRequest object.
         *
         * @param parserRequest the request containing all necessary information for parsing
         * @return the parsed InvokerRequest
         * @throws ParserException if there's an error during parsing of the request
         * @throws IOException if there's an I/O error during the parsing process
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

         */
        @Override
        public void setupRequest ( CommonServerMessageBlock request ) {
    
            if ( ! ( request instanceof ServerMessageBlock ) ) {
                return;
            }
    
            ServerMessageBlock req = (ServerMessageBlock) request;
    
            req.addFlags2(this.negotiatedFlags2);
            req.setUseUnicode(req.isForceUnicode() || this.useUnicode);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/s3select"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // supportedHeadGetReqParams - supported request parameters for GET and HEAD presigned request.
    var supportedHeadGetReqParams = map[string]string{
    	"response-expires":             xhttp.Expires,
    	"response-content-type":        xhttp.ContentType,
    	"response-cache-control":       xhttp.CacheControl,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/feature_request.md

    ---
    name: Feature request
    about: Suggest an idea for this project
    title: ''
    labels: ''
    assignees: ''
    
    ---
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri May 15 11:56:53 UTC 2020
    - 190 bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/feature_request.md

    ---
    name: Feature request
    about: Suggest an idea for this project
    title: ''
    labels: ''
    assignees: ''
    
    ---
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Feb 10 22:18:26 UTC 2020
    - 190 bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.function.Predicate;
    
    import static java.util.stream.Collectors.toSet;
    
    /**
     * Container for storing the request from the user to activate or de-activate certain profiles and optionally fail the
     * build if those profiles do not exist.
     */
    public class ProfileActivation {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

        private final Date timestamp;
    
        private final Integer buildNumber;
    
        RemoteSnapshotMetadataGenerator(RepositorySystemSession session, DeployRequest request) {
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
            Object bn = ConfigUtils.getObject(session, null, "maven.buildNumber");
            if (bn instanceof Integer) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_cookie_param_models/test_tutorial002.py

            pytest.param("tutorial002_pv1_an_py310", marks=[needs_py310, needs_pydanticv1]),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.cookie_param_models.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_cookie_param_model(client: TestClient):
        with client as c:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top