Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 570 for header1 (0.66 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt

          )
        call1.execute().use { response -> response.body.string() }
    
        listener.shouldClose = true
        // Large headers are a likely reason the servers would cut off the connection before it completes sending
        // request headers.
        // 431 "Request Header Fields Too Large"
        val largeHeaders =
          Headers
            .Builder()
            .apply {
              repeat(32) {
                add("name-$it", "value-$it-" + "0".repeat(1024))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/BaseTestHandler.kt

      override fun data(
        inFinished: Boolean,
        streamId: Int,
        source: BufferedSource,
        length: Int,
      ) {
        fail("")
      }
    
      override fun headers(
        inFinished: Boolean,
        streamId: Int,
        associatedStreamId: Int,
        headerBlock: List<Header>,
      ) {
        fail("")
      }
    
      override fun rstStream(
        streamId: Int,
        errorCode: ErrorCode,
      ) {
        fail("")
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

       */
      private fun decodeHeaderAsJavaNetCookies(
        url: HttpUrl,
        header: String,
      ): List<Cookie> {
        val result = mutableListOf<Cookie>()
        var pos = 0
        val limit = header.length
        var pairEnd: Int
        while (pos < limit) {
          pairEnd = header.delimiterOffset(";,", pos, limit)
          val equalsSign = header.delimiterOffset('=', pos, pairEnd)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/pager/ReqHeaderPager.java

        /**
         * The unique identifier of the request header.
         */
        public String id;
    
        /**
         * The name of the request header.
         */
        public String name;
    
        /**
         * The value of the request header.
         */
        public String value;
    
        /**
         * The web configuration ID associated with this request header.
         */
        public String webConfigId;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

         * Creates a CURL request from the provided header string.
         *
         * @param header the header string containing HTTP method and path
         * @return CURL request object or null if header is invalid
         */
        private CurlRequest getCurlRequest(final String header) {
            if (StringUtil.isBlank(header)) {
                return null;
            }
    
            final String[] values = header.split(" ");
            if (values.length != 2) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. README.md

    =====
    
    A simple cURL-like Java HTTP client.
    
    ## Features
    
    - Fluent API for building HTTP requests (GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE)
    - Support for query parameters, headers, body (String or stream), compression, SSL configuration, proxies, and timeouts
    - Automatic in-memory or on-disk caching of request/response bodies
    - Synchronous and asynchronous (callback) execution
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:11:14 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol
    import okhttp3.RecordingEventListener
    import okhttp3.RecordingHostnameVerifier
    import okhttp3.Request
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(response.protocol).isEqualTo(protocol)
        val logs = testLogHandler.takeAll()
        assertThat(firstFrame(logs, "HEADERS")!!, "header logged")
          .contains("HEADERS       END_HEADERS")
        // While MockWebServer waits to read the client's HEADERS frame before sending the response, it
        // doesn't wait to read the client's DATA frame and may send a DATA frame before the client
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

     *    * connection held ([connectionAcquired], [connectionReleased])
     *      * request ([requestFailed])
     *        * headers ([requestHeadersStart], [requestHeadersEnd])
     *        * body ([requestBodyStart], [requestBodyEnd])
     *      * response ([responseFailed])
     *        * headers ([responseHeadersStart], [responseHeadersEnd])
     *        * body ([responseBodyStart], [responseBodyEnd])
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

       */
      public val target: String,
      /** A string like `HTTP/1.1` or `HTTP/2`. */
      public val version: String,
      /** The request URL built using the request line, headers, and local host name. */
      public val url: HttpUrl,
      /** All headers. */
      public val headers: Headers,
      /** The body of this request, or null if it has none. This may be truncated. */
      public val body: ByteString?,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top