Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Tate (0.29 sec)

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

      }
    
      /**
       * For Last-Modified and Date headers, we should echo the date back in the exact format we were
       * served.
       */
      @Test
      fun retainServedDateFormat() {
        // Serve a response with a non-standard date format that OkHttp supports.
        val lastModifiedDate = Date(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(-1))
        val servedDate = Date(System.currentTimeMillis() + TimeUnit.HOURS.toMillis(-2))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

        private var servedDate: Date? = null
        private var servedDateString: String? = null
    
        /** The last modified date of the cached response, if known. */
        private var lastModified: Date? = null
        private var lastModifiedString: String? = null
    
        /**
         * The expiration date of the cached response, if known. If both this field and the max age are
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. okhttp/api/okhttp.api

    	public final fun byteCount ()J
    	public fun equals (Ljava/lang/Object;)Z
    	public final fun get (Ljava/lang/String;)Ljava/lang/String;
    	public final fun getDate (Ljava/lang/String;)Ljava/util/Date;
    	public final fun getInstant (Ljava/lang/String;)Ljava/time/Instant;
    	public fun hashCode ()I
    	public fun iterator ()Ljava/util/Iterator;
    	public final fun name (I)Ljava/lang/String;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    2C8D          ; valid                                  # 4.1  COPTIC SMALL LETTER ZATA
    2C8E          ; mapped                 ; 2C8F          # 4.1  COPTIC CAPITAL LETTER HATE
    2C8F          ; valid                                  # 4.1  COPTIC SMALL LETTER HATE
    2C90          ; mapped                 ; 2C91          # 4.1  COPTIC CAPITAL LETTER THETHE
    2C91          ; valid                                  # 4.1  COPTIC SMALL LETTER THETHE
    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/Cache.kt

     * the updated response if it has changed, or a short 'not modified' response if the client's copy
     * is still valid. Such responses increment both the network count and hit count.
     *
     * The best way to improve the cache hit rate is by configuring the web server to return cacheable
     * responses. Although this client honors all [HTTP/1.1 (RFC 7234)][rfc_7234] cache headers, it
     * doesn't cache partial responses.
     *
     * ## Force a Network Response
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

       */
      @get:JvmName("noCache") val noCache: Boolean,
      /** If true, this response should not be cached. */
      @get:JvmName("noStore") val noStore: Boolean,
      /** The duration past the response's served date that it can be served without validation. */
      @get:JvmName("maxAgeSeconds") val maxAgeSeconds: Int,
      /**
       * The "s-maxage" directive is the max age for shared caches. Not to be confused with "max-age"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Cookie.kt

              } else {
                Long.MAX_VALUE
              }
            expiresAt = currentTimeMillis + deltaMilliseconds
            if (expiresAt < currentTimeMillis || expiresAt > MAX_DATE) {
              expiresAt = MAX_DATE // Handle overflow & limit the date range.
            }
          }
    
          // If the domain is present, it must domain match. Otherwise we have a host-only cookie.
          val urlHost = url.host
          if (domain == null) {
    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)
  8. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun headers() {
        var headers: Headers = headersOf("", "")
        headers = mapOf("" to "").toHeaders()
        val get: String? = headers[""]
        val date: Date? = headers.getDate("")
        val instant: Instant? = headers.getInstant("")
        val size: Int = headers.size
        val name: String = headers.name(0)
        val value: String = headers.value(0)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        defaultDelay: Int,
      ): Int {
        val header = userResponse.header("Retry-After") ?: return defaultDelay
    
        // https://tools.ietf.org/html/rfc7231#section-7.1.3
        // currently ignores a HTTP-date, and assumes any non int 0 is a delay
        if (header.matches("\\d+".toRegex())) {
          return Integer.valueOf(header)
        }
        return Integer.MAX_VALUE
      }
    
      companion object {
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
  10. CHANGELOG.md

          --proxy localhost:8888 \
          --proxytunnel \
          http://squareup.com/robots.txt
        ```
    
     *  Fix: Support executing OkHttp on kotlin-stdlib versions as old as 1.4. The library still builds
        on up-to-date Kotlin releases (1.6.21) but no longer needs that version as a runtime dependency.
        This should make it easier to use OkHttp in Gradle plugins.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
Back to top