Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for requestHeaders (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       *     Corresponds to `FLAG_FIN`.
       */
      @Throws(IOException::class)
      fun newStream(
        requestHeaders: List<Header>,
        out: Boolean,
      ): Http2Stream {
        return newStream(0, requestHeaders, out)
      }
    
      @Throws(IOException::class)
      private fun newStream(
        associatedStreamId: Int,
        requestHeaders: List<Header>,
        out: Boolean,
      ): Http2Stream {
        val outFinished = !out
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

       *
       * @param streamId server-initiated stream ID: an even number.
       * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`,
       * and `:path`.
       */
      fun onRequest(
        streamId: Int,
        requestHeaders: List<Header>,
      ): Boolean
    
      /**
       * The response headers corresponding to a pushed request.  When [last] is true, there are
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

        return sslSocket
      }
    
      override fun onStream(stream: Http2Stream) {
        try {
          val requestHeaders = stream.takeHeaders()
          var path: String? = null
          var i = 0
          val size = requestHeaders.size
          while (i < size) {
            if (requestHeaders.name(i) == Header.TARGET_PATH_UTF8) {
              path = requestHeaders.value(i)
              break
            }
            i++
          }
          if (path == null) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

            Map<String, Object> initParamMap = initParamMapSet.get();
            assertNotNull(initParamMap);
            assertEquals(0, ((org.codelibs.fess.crawler.client.http.RequestHeader[]) initParamMap.get("requestHeaders")).length);
            assertEquals("Mozilla/5.0 (compatible; Fess/98.76; +http://fess.codelibs.org/bot.html)", initParamMap.get("userAgent"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

            override fun pushPromise(
              streamId: Int,
              promisedStreamId: Int,
              requestHeaders: List<Header>,
            ) {
              assertThat(streamId).isEqualTo(expectedStreamId)
              assertThat(promisedStreamId).isEqualTo(expectedPromisedStreamId)
              assertThat(requestHeaders).isEqualTo(pushPromise)
            }
          },
        )
      }
    
      /** Headers are compressed, then framed.  */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

            // Request Header
            final RequestHeader[] requestHeaders = { new RequestHeader("enctype", "multipart/form-data") };
            for (final RequestHeader requestHeader : requestHeaders) {
                if (requestHeader.isValid()) {
                    requestHeaderList.add(new BasicHeader(requestHeader.getName(), requestHeader.getValue()));
                }
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

       * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`, and `:path`.
       */
      @Throws(IOException::class)
      fun pushPromise(
        streamId: Int,
        promisedStreamId: Int,
        requestHeaders: List<Header>,
      ) {
        this.withLock {
          if (closed) throw IOException("closed")
          hpackWriter.writeHeaders(requestHeaders)
    
          val byteCount = hpackBuffer.size
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Cache.kt

          val requestHeaders = networkResponse!!.request.headers
          val responseHeaders = headers
          return varyHeaders(requestHeaders, responseHeaders)
        }
    
        /**
         * Returns the subset of the headers in [requestHeaders] that impact the content of the
         * response's body.
         */
        private fun varyHeaders(
          requestHeaders: Headers,
          responseHeaders: Headers,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

      }
    
      override fun writeRequestHeaders(request: Request) {
        if (stream != null) return
    
        val hasRequestBody = request.body != null
        val requestHeaders = http2HeadersList(request)
        stream = http2Connection.newStream(requestHeaders, hasRequestBody)
        // We may have been asked to cancel while creating the new stream and sending the request
        // headers, but there was still no stream to close.
        if (canceled) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CookiesTest.kt

        client =
          client.newBuilder()
            .cookieJar(
              JavaNetCookieJar(
                object : CookieManager() {
                  override fun get(
                    uri: URI,
                    requestHeaders: Map<String, List<String>>,
                  ) = mapOf(
                    "COOKIE" to listOf("Bar=bar"),
                    "cooKIE2" to listOf("Baz=baz"),
                  )
                },
              ),
            )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top