Search Options

Results per page
Sort
Preferred Languages
Advance

Results 851 - 860 of 1,367 for respond (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            Smb2CloseResponse response = request.createResponse(mockContext, request);
    
            assertNotNull(response);
    
            // Verify response has correct config
            Field configField = ServerMessageBlock2.class.getDeclaredField("config");
            configField.setAccessible(true);
            Configuration responseConfig = (Configuration) configField.get(response);
            assertEquals(mockConfig, responseConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/additional-status-codes.md

    ## Additional status codes { #additional-status-codes_1 }
    
    If you want to return additional status codes apart from the main one, you can do that by returning a `Response` directly, like a `JSONResponse`, and set the additional status code directly.
    
    For example, let's say that you want to have a *path operation* that allows to update items, and returns HTTP status codes of 200 "OK" when successful.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial003.py hl[26] *}
    
    In this example, the *path operations* under the `router` will use the custom `TimedRoute` class, and will have an extra `X-Response-Time` header in the response with the time it took to generate the response:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

        @Override
        public Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors) {
            String repoId = repository.getId();
    
            if (repoId != null && mirrors != null) {
                for (Mirror mirror : mirrors) {
                    if (repoId.equals(mirror.getMirrorOf()) && matchesLayout(repository, mirror)) {
                        return mirror;
                    }
                }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. mockwebserver/README.md

    from your test's `tearDown()`.
    
    ### API
    
    #### MockResponse
    
    Mock responses default to an empty response body and a `200` status code.
    You can set a custom body with a string, input stream or byte array. Also
    add headers with a fluent builder API.
    
    ### Java
    ```java
    MockResponse response = new MockResponse.Builder()
        .addHeader("Content-Type", "application/json; charset=utf-8")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:40:52 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. cmd/signature-v2.go

    	"legal-hold",
    	"lifecycle",
    	"location",
    	"logging",
    	"notification",
    	"partNumber",
    	"policy",
    	"requestPayment",
    	"response-cache-control",
    	"response-content-disposition",
    	"response-content-encoding",
    	"response-content-language",
    	"response-content-type",
    	"response-expires",
    	"retention",
    	"select",
    	"select-type",
    	"tagging",
    	"torrent",
    	"uploadId",
    	"uploads",
    	"versionId",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. docs/extensions/s3zip/examples/boto3/main.py

        request.headers.add_header('x-minio-extract', 'true')
    event_system = s3.meta.events
    event_system.register_first('before-sign.s3.*', _add_header)
    
    # List zip contents
    response = s3.list_objects_v2(Bucket="your-bucket", Prefix="path/to/file.zip/")
    print(response)
    
    # Download data.csv stored in the zip file
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Aug 04 21:15:45 UTC 2021
    - 771 bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/extra-models.md

    ## Listen von Modellen
    
    Genauso können Sie eine Response deklarieren, die eine Liste von Objekten ist.
    
    Verwenden Sie dafür Pythons Standard `typing.List` (oder nur `list` in Python 3.9 und darüber):
    
    {* ../../docs_src/extra_models/tutorial004_py39.py hl[18] *}
    
    ## Response mit beliebigem `dict`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java

    import jcifs.internal.smb2.multichannel.NetworkInterfaceInfo;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Response data for FSCTL_QUERY_NETWORK_INTERFACE_INFO
     */
    public class QueryNetworkInterfaceInfoResponse implements Decodable {
    
        private List<NetworkInterfaceInfo> interfaces;
    
        /**
         * Create query network interface info response
         */
        public QueryNetworkInterfaceInfoResponse() {
            this.interfaces = new ArrayList<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 SRV_COPYCHUNK_COPY response data structure. This structure contains the result
     * of a server-side copy operation.
     *
     * @author mbechler
     *
     */
    public class SrvCopyChunkCopyResponse implements Decodable {
    
        /**
         * Constructs a new SrvCopyChunkCopyResponse.
         * This response contains the results of a server-side copy operation.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top