Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 247 for headless (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

    import okhttp3.CallEvent.ResponseHeadersEnd
    import okhttp3.CallEvent.ResponseHeadersStart
    import okhttp3.CallEvent.SecureConnectEnd
    import okhttp3.CallEvent.SecureConnectStart
    import okhttp3.Credentials.basic
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.TestUtil.assumeNotWindows
    import okhttp3.internal.RecordingOkAuthenticator
    import okhttp3.internal.duplex.AsyncRequestBody
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeUtf8("custom-baz")
        bytesIn.writeByte(0x0d) // Literal value (len = 13)
        bytesIn.writeUtf8("custom-header")
    
        // Set to only support 110 bytes (enough for 2 headers).
        // Use a new Writer because we don't support change the dynamic table
        // size after Writer constructed.
        val writer = Hpack.Writer(110, false, bytesOut)
        writer.writeHeaders(headerBlock)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlRequest.java

    import org.codelibs.curl.io.ContentOutputStream;
    
    /**
     * The CurlRequest class represents an HTTP request that can be configured and executed.
     * It supports various HTTP methods, request parameters, headers, body content, and more.
     */
    public class CurlRequest {
    
        /**
         * The GZIP compression type.
         */
        protected static final String GZIP = "gzip";
    
        /**
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

            )
          socket.source.timeout().timeout(readTimeoutMillis.toLong(), TimeUnit.MILLISECONDS)
          socket.sink.timeout().timeout(writeTimeoutMillis.toLong(), TimeUnit.MILLISECONDS)
          tunnelCodec.writeRequest(nextRequest.headers, requestLine)
          tunnelCodec.finishRequest()
          val response =
            tunnelCodec
              .readResponseHeaders(false)!!
              .request(nextRequest)
              .build()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 19.3K bytes
    - Viewed (2)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            assertEquals("https://api.example.com/data", data.getUrl());
            assertEquals(2.0f, data.getWeight(), 0.001f);
        }
    
        public void test_realWorldUsageExample3() {
            // Real-world example: checking headers
            RequestData data = RequestDataBuilder.newRequestData().head().url("https://example.com/large-file.zip").build();
    
            assertNotNull(data);
            assertEquals(Method.HEAD, data.getMethod());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            LaResponseUtil.getResponse().addCookie(cookie);
        }
    
        /**
         * Determines whether the user identification cookie should be marked as secure.
         * Checks the configured secure setting or examines request headers to detect HTTPS.
         *
         * @return true if the cookie should be secure, false otherwise
         */
        protected boolean isSecureCookie() {
            if (cookieSecure != null) {
                return cookieSecure;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                int result2 = request.encode(buffer2, 50);
    
                // Both should succeed independently
                assertTrue(result1 > 0);
                assertTrue(result2 > 0);
    
                // Verify headers in both buffers
                for (int i = 0; i < 8; i++) {
                    assertEquals((byte) 0xFF, buffer1[i]);
                    assertEquals((byte) 0xFF, buffer2[50 + i]);
                }
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. CLAUDE.md

    ## Code Conventions
    
    ### Java Style
    
    - **Formatter**: Eclipse formatter at `src/config/eclipse/formatter/java.xml`
    - **Indentation**: 4 spaces (no tabs)
    - **Line Length**: 140 characters max
    - **License Headers**: Required (use `mvn license:format`)
    
    ### Naming Conventions
    
    | Type | Convention | Example |
    |------|-----------|---------|
    | Classes/Interfaces | PascalCase | `SuggestIndexer`, `ReadingConverter` |
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt

       * leaking resources callers must [close the response body][ResponseBody] or the response.
       *
       * Note that transport-layer success (receiving a HTTP response code, headers and body) does not
       * necessarily indicate application-layer success: `response` may still indicate an unhappy HTTP
       * response code like 404 or 500.
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

          this.settings = settings
        }
    
        override fun ackSettings() {
          check(type == -1)
          this.type = Http2.TYPE_SETTINGS
          this.ack = true
        }
    
        override fun headers(
          inFinished: Boolean,
          streamId: Int,
          associatedStreamId: Int,
          headerBlock: List<Header>,
        ) {
          check(type == -1)
          this.type = Http2.TYPE_HEADERS
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top