Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Content (0.17 sec)

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

        assertThat(parse("http://user:password@[::1]/").password).isEqualTo("password")
        assertThat(parse("http://user:password@[::1]:8080/").host).isEqualTo("::1")
    
        // Permit the contents of IPv6 addresses to be percent-encoded...
        assertThat(parse("http://[%3A%3A%31]/").host).isEqualTo("::1")
    
        // Including the Square braces themselves! (This is what Chrome does.)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            .status("HTTP/1.1 204")
            .removeHeader("Content-Length")
            .build()
        server.enqueue(responseWithoutBody)
        val call = client.newCall(Request(server.url("/foo")))
        val response = call.execute()
    
        // Body contains nothing.
        assertThat(response.body.bytes().size).isEqualTo(0)
        assertThat(response.body.contentLength()).isEqualTo(0)
    
        // Content-Length header doesn't exist in a 204 response.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

        with the error, `Unexpected TLS version: NONE`.
     *  Fix: Don't corrupt the response cache when a 304 (Not Modified) response
        overrides the stored "Content-Encoding" header.
     *  Fix: Gracefully shut down the HTTP/2 connection before it exhausts the
        namespace of stream IDs (~536 million streams).
     *  Fix: Never pass a null `Route` to `Authenticator`. There was a bug where
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  4. kotlin-js-store/yarn.lock

      dependencies:
        debug "2.6.9"
        finalhandler "1.1.2"
        parseurl "~1.3.3"
        utils-merge "1.0.1"
    
    content-type@~1.0.4:
      version "1.0.4"
      resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
      integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * Java includes both [java.net.URL][URL] and [java.net.URI][URI]. We offer a new URL
     * model to address problems that the others don't.
     *
     * ### Different URLs should be different
     *
     * Although they have different content, `java.net.URL` considers the following two URLs
     * equal, and the [equals()][Object.equals] method between them returns true:
     *
     *  * https://example.net/
     *
     *  * https://example.com/
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  6. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

          }
        } catch (_: FileNotFoundException) {
          null
        }
      }
    
      fun writeFile(
        file: Path,
        content: String,
      ) {
        file.parent?.let {
          filesystem.createDirectories(it)
        }
        filesystem.write(file) {
          writeUtf8(content)
        }
      }
    
      private fun generateSomeGarbageFiles() {
        val dir1 = cacheDir / "dir1"
        val dir2 = dir1 / "dir2"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
Back to top