Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 1,849 for Data (0.03 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

      override fun cancel() {
        canceled = true
        call?.cancel()
      }
    
      override fun onEvent(
        id: String?,
        type: String?,
        data: String,
      ) {
        listener.onEvent(this, id, type, data)
      }
    
      override fun onRetryChange(timeMs: Long) {
        // Ignored. We do not auto-retry.
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

      @AfterEach
      fun after() {
        listener.assertExhausted()
      }
    
      @Test
      fun processResponse() {
        server.enqueue(
          MockResponse
            .Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        val request = Request.Builder().url(server.url("/")).build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 13:49:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/using-request-directly.md

    # Using the Request Directly { #using-the-request-directly }
    
    Up to now, you have been declaring the parts of the request that you need with their types.
    
    Taking data from:
    
    * The path as parameters.
    * Headers.
    * Cookies.
    * etc.
    
    And by doing so, **FastAPI** is validating that data, converting it and generating documentation for your API automatically.
    
    But there are situations where you might need to access the `Request` object directly.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

        /**
         * Create a test byte array with specified size and pattern
         */
        private byte[] createTestData(int size) {
            byte[] data = new byte[size];
            for (int i = 0; i < size; i++) {
                data[i] = (byte) (i % 256);
            }
            return data;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            assertTrue(result.contains("Session Id:"));
            assertTrue(result.contains("Web  Config Id: ALL"));
            assertTrue(result.contains("File Config Id: ALL"));
            assertTrue(result.contains("Data Config Id: ALL"));
        }
    
        // Test execute method with specific config IDs
        public void test_execute_withConfigIds() {
            // Setup test
            crawlJob = new CrawlJob() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  6. src/archive/tar/common.go

    // that the file has no data in it, which is rather odd.
    //
    // As an example, if the underlying raw file contains the 10-byte data:
    //
    //	var compactFile = "abcdefgh"
    //
    // And the sparse map has the following entries:
    //
    //	var spd sparseDatas = []sparseEntry{
    //		{Offset: 2,  Length: 5},  // Data fragment for 2..6
    //		{Offset: 18, Length: 3},  // Data fragment for 18..20
    //	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. CHANGELOG.md

        irrelevant data.
    
        This feature may be used with `POST` requests to cache their responses. In such cases the
        request body is not used to determine the cache key, so you must manually add cache-relevant
        data to the override URL. For example, you could add a `request-body-sha256` query parameter so
        requests with the same POST data get the same cache entry.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  8. docs/es/docs/tutorial/security/simple-oauth2.md

    OAuth2 especifica que cuando se utiliza el "password flow" (que estamos usando), el cliente/usuario debe enviar campos `username` y `password` como form data.
    
    Y la especificación dice que los campos deben llamarse así. Por lo que `user-name` o `email` no funcionarían.
    
    Pero no te preocupes, puedes mostrarlo como quieras a tus usuarios finales en el frontend.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      override fun help(context: Context): String = "A curl for the next-generation web."
    
      val method: String? by option("-X", "--request").help("Specify request command to use")
    
      val data: String? by option("-d", "--data").help("HTTP POST data")
    
      val headers: List<String>? by option("-H", "--header").help("Custom header to pass to server").multiple()
    
      val userAgent: String by option(
        "-A",
        "--user-agent",
      ).help(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            buf.enc_ndr_long(0x00000010); // data representation
            buf.enc_ndr_short(20); // length
            buf.enc_ndr_short(0); // auth length
            buf.enc_ndr_long(0); // call_id
    
            // Response body
            buf.enc_ndr_long(4); // alloc_hint
            buf.enc_ndr_short(0); // context_id
            buf.enc_ndr_short(0); // cancel_count
            buf.enc_ndr_small(0xAB); // test data for decode_out
    
            // Decode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top