Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 59 for Accent (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

    package okhttp3.internal.ws
    
    import okio.Buffer
    import okio.ByteString.Companion.encodeUtf8
    
    object WebSocketProtocol {
      /** Magic value which must be appended to the key in a response header. */
      internal const val ACCEPT_MAGIC = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"
    
      /*
      Each frame starts with two bytes of data.
    
       0 1 2 3 4 5 6 7    0 1 2 3 4 5 6 7
      +-+-+-+-+-------+  +-+-------------+
      |F|R|R|R| OP    |  |M| LENGTH      |
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

          )
        }
    
        val headerAccept = response.header("Sec-WebSocket-Accept")
        val acceptExpected = (key + WebSocketProtocol.ACCEPT_MAGIC).encodeUtf8().sha1().base64()
        if (acceptExpected != headerAccept) {
          throw ProtocolException(
            "Expected 'Sec-WebSocket-Accept' header value '$acceptExpected' but was '$headerAccept'",
          )
        }
    
        if (exchange == null) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/SocksProxy.kt

        executor.execute {
          val threadName = "SocksProxy ${serverSocket!!.localPort}"
          Thread.currentThread().name = threadName
          try {
            while (true) {
              val socket = serverSocket!!.accept()
              connectionCount.incrementAndGet()
              service(socket)
            }
          } catch (e: SocketException) {
            logger.info("$threadName done accepting connections: ${e.message}")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    0591..05A1    ; valid                                  # 2.0  HEBREW ACCENT ETNAHTA..HEBREW ACCENT PAZER
    05A2          ; valid                                  # 4.1  HEBREW ACCENT ATNAH HAFUKH
    05A3..05AF    ; valid                                  # 2.0  HEBREW ACCENT MUNAH..HEBREW MARK MASORA CIRCLE
    05B0..05B9    ; valid                                  # 1.1  HEBREW POINT SHEVA..HEBREW POINT HOLAM
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
  5. okhttp/src/main/kotlin/okhttp3/Cookie.kt

      /**
       * @param forObsoleteRfc2965 true to include a leading `.` on the domain pattern. This is
       *     necessary for `example.com` to match `www.example.com` under RFC 2965. This extra dot is
       *     ignored by more recent specifications.
       */
      internal fun toString(forObsoleteRfc2965: Boolean): String {
        return buildString {
          append(name)
          append('=')
          append(value)
    
          if (persistent) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_2x.md

        a source-incompatible change, and is different from OkHttp 2.0.0-RC2 which
        used `Throwable`.
     *  Fix: Fixed a caching bug where we weren't storing rewritten request headers
        like `Accept-Encoding`.
     *  Fix: Fixed bugs in handling the SPDY window size. This was stalling certain
        large downloads
     *  Update the language level to Java 7. (OkHttp requires Android 2.3+ or Java 7+.)
    
    ## Version 2.0.0-RC2
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         */
        fun followSslRedirects(followProtocolRedirects: Boolean) =
          apply {
            this.followSslRedirects = followProtocolRedirects
          }
    
        /**
         * Sets the handler that can accept cookies from incoming HTTP responses and provides cookies to
         * outgoing HTTP requests.
         *
         * If unset, [no cookies][CookieJar.NO_COOKIES] will be accepted nor provided.
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        // Cause the cache trim job to fail.
        filesystem.setFaultyDelete(cacheDir / "a.0", true)
        taskFaker.runNextTask()
    
        // An edit should now add a job to clean up if the most recent trim failed.
        assertThat(cache.edit("b")).isNull()
        taskFaker.runNextTask()
    
        // Confirm a successful cache trim now allows edits.
        filesystem.setFaultyDelete(cacheDir / "a.0", false)
    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)
  9. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

          "ResponseBodyEnd",
          "ConnectionReleased",
          "CallEnd",
        )
      }
    
      private fun newEventSource(accept: String? = null): EventSource {
        val builder =
          Request.Builder()
            .url(server.url("/"))
        if (accept != null) {
          builder.header("Accept", accept)
        }
        val request = builder.build()
        val factory = createFactory(client)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  10. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

            .url(server.url("/"))
            .header("Accept", "text/plain")
            .build()
        val response = client.newCall(request).execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("hello, OkHttp")
    
        val recorded = server.takeRequest()
        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
        assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top