Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toHttpDateOrNull (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

                  servedDate = value.toHttpDateOrNull()
                  servedDateString = value
                }
                fieldName.equals("Expires", ignoreCase = true) -> {
                  expires = value.toHttpDateOrNull()
                }
                fieldName.equals("Last-Modified", ignoreCase = true) -> {
                  lastModified = value.toHttpDateOrNull()
                  lastModifiedString = value
                }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Headers.kt

    import okhttp3.internal.commonToHeaders
    import okhttp3.internal.commonToString
    import okhttp3.internal.commonValue
    import okhttp3.internal.commonValues
    import okhttp3.internal.headersCheckName
    import okhttp3.internal.http.toHttpDateOrNull
    import okhttp3.internal.http.toHttpDateString
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    /**
     * The header fields of a single HTTP message. Values are uninterpreted strings; use `Request` and
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top