Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 931 - 940 of 1,881 for RESPONSE (0.05 seconds)

  1. docs_src/app_testing/tutorial002_py310.py

        await websocket.accept()
        await websocket.send_json({"msg": "Hello WebSocket"})
        await websocket.close()
    
    
    def test_read_main():
        client = TestClient(app)
        response = client.get("/")
        assert response.status_code == 200
        assert response.json() == {"msg": "Hello World"}
    
    
    def test_websocket():
        client = TestClient(app)
        with client.websocket_connect("/ws") as websocket:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 757 bytes
    - Click Count (0)
  2. src/main/java/jcifs/http/NtlmSsp.java

         * for the specified servlet request.
         *
         * @param tc the CIFS context to use
         *
         * @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.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            } else if (compound && this.nextCommand == 0 && this.readSize > 0) {
                // Apply compound response handling as per MS-SMB2 3.2.5.1.9 - correct for both compound and single responses
                // 3.2.5.1.9 Handling Compounded Responses
                // The final response in the compounded response chain will have NextCommand equal to 0,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  4. docs_src/async_tests/app_a_py310/test_main.py

    
    @pytest.mark.anyio
    async def test_root():
        async with AsyncClient(
            transport=ASGITransport(app=app), base_url="http://test"
        ) as ac:
            response = await ac.get("/")
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 360 bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

        server.enqueue(MockResponse(body = "abc"))
    
        val request = Request.Builder().url(server.url("/")).build()
    
        val response = client.newCall(request).execute()
    
        response.use {
          assertEquals(200, response.code)
          assertEquals(
            "CN=localhost",
            (response.handshake!!.peerCertificates.single() as X509Certificate).subjectDN.name,
          )
        }
      }
    
      private fun enableTls() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java

    /**
     * SMB1 Seek command response implementation.
     * Handles server responses to file seek operations, returning the new file
     * position after a seek request in SMB1 protocol file operations.
     *
     * @author mbechler
     */
    public class SmbComSeekResponse extends ServerMessageBlock {
    
        private long offset;
    
        /**
         * Constructs a seek response.
         *
         * @param config the configuration
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

         *
         * @return HTML response for the index page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            return asListHtml();
        }
    
        /**
         * Deletes the specified plugin.
         *
         * @param form the delete form containing plugin information
         * @return HTML response redirecting to the plugin list
         */
        @Execute
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

                final int effectiveBlockSize = Math.max(blockSize, optimizedBlockSize);
    
                SmbComReadAndXResponse response = null;
                if (!th.isSMB2()) {
                    response = new SmbComReadAndXResponse(th.getConfig(), b, off);
                }
    
                do {
                    r = len > effectiveBlockSize ? effectiveBlockSize : len;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

          override val nonDefaultValue: Authenticator = Authenticator { route, response -> response.request }
    
          override val badValue: Authenticator = Authenticator { route, response -> TODO() }
    
          override fun isDefaultValue(value: Authenticator): Boolean = value === Authenticator.NONE
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

     * write timeout. Original configuration is kept, but can be overriden.
     *
     * ```java
     * OkHttpClient eagerClient = client.newBuilder()
     *     .readTimeout(500, TimeUnit.MILLISECONDS)
     *     .build();
     * Response response = eagerClient.newCall(request).execute();
     * ```
     *
     * ## Shutdown Isn't Necessary
     *
     * The threads and connections that are held will be released automatically if they remain idle. But
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 51.5K bytes
    - Click Count (0)
Back to Top