Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1231 - 1240 of 1,943 for Responses (0.06 seconds)

  1. docs_src/custom_request_and_route/tutorial001_an_py310.py

    import gzip
    from collections.abc import Callable
    from typing import Annotated
    
    from fastapi import Body, FastAPI, Request, Response
    from fastapi.routing import APIRoute
    
    
    class GzipRequest(Request):
        async def body(self) -> bytes:
            if not hasattr(self, "_body"):
                body = await super().body()
                if "gzip" in self.headers.getlist("Content-Encoding"):
                    body = gzip.decompress(body)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 1015 bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

                    requestBuilder.prefix(normalizedPrefix);
                }
    
                final ListObjectsV2Response response = s3Client.listObjectsV2(requestBuilder.build());
    
                // Process common prefixes (directories)
                for (final CommonPrefix commonPrefix : response.commonPrefixes()) {
                    final String dirName = getName(commonPrefix.prefix());
                    if (StringUtil.isNotBlank(dirName)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComWriteResponse.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 Write Response message.
     *
     * This response contains information about the write operation,
     * including the number of bytes that were written to the file.
     */
    public class SmbComWriteResponse extends ServerMessageBlock {
    
        private long count;
    
        /**
         * Constructs a write response for SMB1 protocol.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

    import jcifs.internal.SmbBasicFileInfo;
    import jcifs.internal.smb1.AndXServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB1 NT Create AndX Response message.
     *
     * This response contains information about the created or opened file,
     * including file handle, attributes, and creation disposition.
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            // Decode will throw exception as ptype 0 is not a valid response type
            assertThrows(NdrException.class, () -> m.decode(buf));
        }
    
        @Test
        void testRoundTripEncodeDecodeForResponseType() throws Exception {
            // Create a properly formatted response message
            NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
    
            // Manually encode a response header
            buf.enc_ndr_small(5); // RPC version
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

    import jcifs.internal.fscc.FileStandardInfo;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.smb1.trans.SmbComTransactionResponse;
    
    /**
     * Trans2 QueryPathInformation response message for file metadata queries.
     * This class handles the response from a TRANS2_QUERY_PATH_INFORMATION request,
     * returning various file information levels based on the requested information level.
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

    import org.codelibs.fess.helper.PermissionHelper;
    import org.codelibs.fess.opensearch.config.exentity.WebConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    
    import jakarta.annotation.Resource;
    
    /**
     * API action for admin web configuration management.
     *
     */
    public class ApiAdminWebconfigAction extends FessApiAdminAction {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

     * until [nextPart] returns null. After calling [nextPart] any preceding parts should not be read.
     *
     * Typical use loops over the parts in sequence:
     *
     * ```kotlin
     * val response: Response = call.execute()
     * val multipartReader = MultipartReader(response.body!!)
     *
     * multipartReader.use {
     *   while (true) {
     *     val part = multipartReader.nextPart() ?: break
     *     process(part.headers, part.body)
     *   }
     * }
     * ```
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

        server.start()
        val call =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .build(),
          )
        val response = call.execute()
        interruptLater(500)
        val responseBody = response.body.byteStream()
        val buffer = ByteArray(1024)
        assertFailsWith<IOException> {
          while (responseBody.read(buffer) != -1) {
          }
        }
        responseBody.close()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 18:33:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

        private static final Logger log = LoggerFactory.getLogger(DirFileEntryEnumIterator2.class);
    
        private byte[] fileId;
        private Smb2QueryDirectoryResponse response;
    
        /**
         * Creates a directory entry enumeration iterator for SMB2 protocol.
         *
         * @param th the SMB tree handle for the connection
         * @param parent the parent resource being enumerated
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top