Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for Rate (0.34 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          .isEqualTo(date("1950-01-01T00:00:00.000+0000").time)
        assertThat(Adapters.parseUtcTime("500101010000Z"))
          .isEqualTo(date("1950-01-01T01:00:00.000+0000").time)
    
        assertThat(Adapters.parseUtcTime("491231225959Z"))
          .isEqualTo(date("2049-12-31T22:59:59.000+0000").time)
        assertThat(Adapters.parseUtcTime("491231235959Z"))
          .isEqualTo(date("2049-12-31T23:59:59.000+0000").time)
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      }
    
      @Test
      fun ntripr1() {
        server.enqueue(
          MockResponse.Builder()
            .status("SOURCETABLE 200 OK")
            .addHeader("Server: NTRIP Caster 1.5.5/1.0")
            .addHeader("Date: 23/Jan/2004:08:54:59 UTC")
            .addHeader("Content-Type: text/plain")
            .body("STR;FFMJ2;Frankfurt;RTCM 2.1;1(1),3(19),16(59);0;GPS;GREF;DEU;50.12;8.68;0;1;GPSNet V2.10;none;N;N;560;Demo\nENDSOURCETABLE")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  3. 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  4. 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  5. 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/RecordedResponse.kt

    import assertk.assertions.isFalse
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.text.SimpleDateFormat
    import java.util.Date
    
    /**
     * A received response or failure recorded by the response recorder.
     */
    class RecordedResponse(
      @JvmField val request: Request,
      val response: Response?,
      val webSocket: WebSocket?,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  7. android-test/README.md

    ...
    BUILD SUCCESSFUL in 1m 30s
    63 actionable tasks: 61 executed, 2 up-to-date
    
    ```
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  8. docs/features/https.md

    OkHttp attempts to balance two competing concerns:
    
     * **Connectivity** to as many hosts as possible. That includes advanced hosts that run the latest versions of [boringssl](https://boringssl.googlesource.com/boringssl/) and less out of date hosts running older versions of [OpenSSL](https://www.openssl.org/).
     * **Security** of the connection. This includes verification of the remote webserver with certificates and the privacy of data exchanged with strong ciphers.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/build.gradle.kts

           execution it sees that the classpath has changed, and so to be
           safe, it needs to re-run.
    
           - This is unfortunate, because actually it would be safe to declare
           the task as up-to-date, because these two files, which are based on
           the generated index.xml, are outputs, not inputs. We can be sure of
           this because they are deleted in the @BeforeEach method of the
           OsgiTest test class.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
Back to top