Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 52 for Leider (0.21 sec)

  1. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

          encodings[codePoint] = encoding
        }
      }
    
      fun nonPrintableAscii(encoding: Encoding) =
        apply {
          encodings[ 0x0] = encoding // Null character
          encodings[ 0x1] = encoding // Start of Header
          encodings[ 0x2] = encoding // Start of Text
          encodings[ 0x3] = encoding // End of Text
          encodings[ 0x4] = encoding // End of Transmission
          encodings[ 0x5] = encoding // Enquiry
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       *     CLEAN 1ab96a171faeeee38496d8b330771a7a 1600 234
       *     READ 335c4c6028171cfddfbaae1a9c313c52
       *     READ 3400330d1dfc7f3f7f4b8d4d803dfcf6
       *
       * The first five lines of the journal form its header. They are the constant string
       * "libcore.io.DiskLruCache", the disk cache's version, the application's version, the value
       * count, and a blank line.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/EventListener.kt

     *        * body ([responseBodyStart], [responseBodyEnd])
     *
     * This nesting is typical but not strict. For example, when calls use "Expect: continue" the
     * request body start and end events occur within the response header events. Similarly,
     * [duplex calls][RequestBody.isDuplex] interleave the request and response bodies.
     *
     * Since connections may be reused, the proxy selection, DNS, and connect events may not be present
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/DuplexTest.kt

            .add100Continue()
            .streamHandler(body)
            .build(),
        )
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .header("Expect", "100-continue")
              .post(AsyncRequestBody())
              .build(),
          )
        call.execute().use { response ->
          val requestBody = (call.request().body as AsyncRequestBody?)!!.takeSink()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        )
      }
    
      @Test fun pushPromise() {
        val expectedPromisedStreamId = 11
        val pushPromise =
          listOf(
            Header(Header.TARGET_METHOD, "GET"),
            Header(Header.TARGET_SCHEME, "https"),
            Header(Header.TARGET_AUTHORITY, "squareup.com"),
            Header(Header.TARGET_PATH, "/"),
          )
    
        // Write the push promise frame, specifying the associated stream ID.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

          Header("content-length", ""),
          Header("content-location", ""),
          Header("content-range", ""),
          Header("content-type", ""),
          Header("cookie", ""),
          Header("date", ""),
          Header("etag", ""),
          Header("expect", ""),
          Header("expires", ""),
          Header("from", ""),
          Header("host", ""),
          Header("if-match", ""),
          Header("if-modified-since", ""),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (1)
  7. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        val connection = url.openConnection() as HttpURLConnection
        connection.setRequestProperty("Accept-Language", "en-US")
        val reader = BufferedReader(InputStreamReader(connection.inputStream, UTF_8))
        assertThat(connection.responseCode).isEqualTo(HttpURLConnection.HTTP_OK)
        assertThat(reader.readLine()).isEqualTo("hello world")
        val request = server.takeRequest()
        assertThat(request.requestLine).isEqualTo("GET / HTTP/1.1")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

          builder.header("", "Value")
        }
        assertFailsWith<IllegalArgumentException> {
          builder.addHeader("", "Value")
        }
      }
    
      @Test
      fun headerAllowsTabOnlyInValues() {
        val builder = Request.Builder()
        builder.header("key", "sample\tvalue")
        assertFailsWith<IllegalArgumentException> {
          builder.header("sample\tkey", "value")
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  9. docs/recipes.md

    When writing request headers, use `header(name, value)` to set the only occurrence of `name` to `value`. If there are existing values, they will be removed before the new value is added. Use `addHeader(name, value)` to add a header without removing the headers already present.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  10. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          return DnsRecordCodec.decodeAnswers(hostname, responseBytes)
        }
      }
    
      private fun buildRequest(
        hostname: String,
        type: Int,
      ): Request =
        Request.Builder().header("Accept", DNS_MESSAGE.toString()).apply {
          val query = DnsRecordCodec.encodeQuery(hostname, type)
    
          if (post) {
            url(url)
              .cacheUrlOverride(
                url.newBuilder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 9.8K bytes
    - Viewed (0)
Back to top