Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for entri (0.31 sec)

  1. docs/changelogs/changelog_4x.md

    OkHttp 4.x Change Log
    =====================
    
    ## Version 4.12.0
    
    _2023-10-16_
    
     *  Fix: Don't hang taking headers for HTTP 103 responses.
    
     *  Fix: Recover gracefully when a cache entry's certificate is corrupted.
    
     *  Fix: Fail permanently when there's a failure loading the bundled public suffix database.
        This is the dataset that powers `HttpUrl.topPrivateDomain()`.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val requestB = server.takeRequest()
        assertThat(requestB.sequenceNumber).isEqualTo(1)
      }
    
      /**
       * The RFC is unclear in this regard as it only specifies that this should invalidate the cache
       * entry (if any).
       */
      @Test
      fun bodyPermittedOnDelete() {
        server.enqueue(MockResponse())
        val response =
          getResponse(
            Request.Builder()
              .url(server.url("/"))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        var entry = hpackReader!!.dynamicTable[readerHeaderTableLength() - 3]!!
        checkEntry(entry, "custom-key", "custom-value", 54)
    
        // [  2] (s =  53) cache-control: no-cache
        entry = hpackReader!!.dynamicTable[readerHeaderTableLength() - 2]!!
        checkEntry(entry, "cache-control", "no-cache", 53)
    
        // [  3] (s =  57) :authority: www.example.com
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 38.2K bytes
    - Viewed (0)
  4. okhttp-android/src/main/baseline-prof.txt

    PLandroidx/arch/core/internal/SafeIterableMap$DescendingIterator;->forward(Landroidx/arch/core/internal/SafeIterableMap$Entry;)Landroidx/arch/core/internal/SafeIterableMap$Entry;
    PLandroidx/arch/core/internal/SafeIterableMap$ListIterator;-><init>(Landroidx/arch/core/internal/SafeIterableMap$Entry;Landroidx/arch/core/internal/SafeIterableMap$Entry;)V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Cache.kt

            return null // Give up because the cache cannot be read.
          }
    
        val entry: Entry =
          try {
            Entry(snapshot.getSource(ENTRY_METADATA))
          } catch (_: IOException) {
            snapshot.closeQuietly()
            return null
          }
    
        val response = entry.response(snapshot)
        if (!entry.matches(request, response)) {
          response.body.closeQuietly()
          return null
        }
    
    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. docs/changelogs/changelog_3x.md

           <version>1.8.0</version>
         </dependency>
         ```
    
     *  Fix: Gracefully recover from a failure to rebuild the cache journal.
     *  Fix: Don't corrupt cache entries when a cache entry is evicted while it is
        being updated.
     *  Fix: Make logging more consistent throughout OkHttp.
     *  Fix: Log plaintext bodies only. This uses simple heuristics to differentiate
        text from other data.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            source.read(sink, byteCount)
          } catch (e: IOException) {
            carrier.noNewExchanges()
            responseBodyComplete()
            throw e
          }
        }
    
        /**
         * Closes the cache entry and makes the socket available for reuse. This should be invoked when
         * the end of the body has been reached.
         */
        fun responseBodyComplete() {
          if (state == STATE_CLOSED) return
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      fun recoverFromInitializationFailure(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        // Add an uncommitted entry. This will get detected on initialization, and the cache will
        // attempt to delete the file. Do not explicitly close the cache here so the entry is left as
        // incomplete.
        val creator = cache.edit("k1")!!
        creator.newSink(0).buffer().use {
          it.writeUtf8("Hello")
        }
    
    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-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

        mergeAdjacentDeltaMappedRanges(sectionList)
      }
    
      return result.toMap()
    }
    
    /**
     * Modifies [ranges] to combine any adjacent [MappedRange.InlineDelta] of same size to single entry.
     * @returns same instance of [ranges] for convenience
     */
    internal fun mergeAdjacentDeltaMappedRanges(ranges: MutableList<MappedRange>): MutableList<MappedRange> {
      var i = 0
      while (i < ranges.size) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  10. CHANGELOG.md

        data to the override URL. For example, you could add a `request-body-sha256` query parameter so
        requests with the same POST data get the same cache entry.
    
     *  New: `HttpLoggingInterceptor.redactQueryParams()` configures the query parameters to redact
        in logs. For best security, don't put sensitive information in query parameters.
    
    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