Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RFC2616 (1.01 sec)

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

        assertThat(statusLine.code).isEqualTo(code)
      }
    
      /**
       * This is not defined in the protocol but some servers won't add the leading empty space when the
       * message is empty. http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6.1
       */
      @Test
      fun emptyMessageAndNoLeadingSpace() {
        val version = 1
        val code = 503
        val statusLine = parse("HTTP/1.$version $code")
        assertThat(statusLine.message).isEqualTo("")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt

          }
        }
      }
    
    /** If we fail to parse a date in a non-standard format, try each of these formats in sequence. */
    private val BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS =
      arrayOf(
        // HTTP formats required by RFC2616 but with any timezone:
        // RFC 822, updated by RFC 1123 with any TZ.
        "EEE, dd MMM yyyy HH:mm:ss zzz",
        // RFC 850, obsoleted by RFC 1036 with any TZ.
        "EEEE, dd-MMM-yy HH:mm:ss zzz",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

        assertThat(cacheControl.toString()).isEqualTo(header)
      }
    
      @Test
      @Throws(Exception::class)
      fun parseIgnoreCacheControlExtensions() {
        // Example from http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.6
        val header = "private, community=\"UCI\""
        val cacheControl =
          parse(
            Headers
              .Builder()
              .set("Cache-Control", header)
              .build(),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_1x.md

     * Fix: Persist proper `Content-Encoding` header to cache for GZip responses.
     * Fix: Eliminate rare race condition in SPDY streams that would prevent connection reuse.
     * Fix: Change HTTP date formats to UTC to conform to RFC2616 section 3.3.
     * Fix: Support SPDY header blocks with trailing bytes.
     * Fix: Allow `;` as separator for `Cache-Control` header.
     * Fix: Correct bug where HTTPS POST requests were always automatically buffered.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
Back to top