Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 126 of 126 for content_length (0.21 sec)

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

        Arrays.fill(buffer, 'x'.code.toByte())
        return object : RequestBody() {
          override fun contentType() = "text/plain; charset=utf-8".toMediaType()
    
          override fun contentLength(): Long {
            return if (chunked) -1L else size
          }
    
          override fun writeTo(sink: BufferedSink) {
            var count = 0
            while (count < size) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

        authentication failures through a single method. An adapter for the old
        authenticator is available in the `okhttp-urlconnection` module.
    
     *  Fix: Don't throw `IOException` on `ResponseBody.contentLength()` or `close()`.
     *  Fix: Never throw converting an `HttpUrl` to a `java.net.URI`. This changes
        the `uri()` method to handle malformed percent-escapes and characters
        forbidden by `URI`.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	c.Assert(err, nil)
    	// execute the HTTP request to fetch the object.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    	c.Assert(response.ContentLength, int64(len([]byte("hello world"))))
    	var buffer2 bytes.Buffer
    	// retrieve the contents of response body.
    	n, err := io.Copy(&buffer2, response.Body)
    	c.Assert(err, nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  4. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/_RequestBodyCommonKt$commonToRequestBody$1;-><init>(Lokhttp3/MediaType;I[BI)V
    HSPLokhttp3/internal/_RequestBodyCommonKt$commonToRequestBody$1;->contentLength()J
    HSPLokhttp3/internal/_RequestBodyCommonKt$commonToRequestBody$1;->contentType()Lokhttp3/MediaType;
    HSPLokhttp3/internal/_RequestBodyCommonKt$commonToRequestBody$1;->writeTo(Lokio/BufferedSink;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  5. test-site/activator-launch-1.3.2.jar

    private static java.util.List retrieveListing$211aaa13(java.net.URL); static void <clinit>(); } org/apache/ivy/util/url/URLHandler$URLInfo.class package org.apache.ivy.util.url; public final synchronized class URLHandler$URLInfo { private long contentLength; private long lastModified; private boolean available; private String bodyCharset; protected void URLHandler$URLInfo(); protected void URLHandler$URLInfo(boolean, long, long, String); public final boolean isReachable(); public final long getContentLength();...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
  6. api/go1.txt

    pkg net/http, type Request struct
    pkg net/http, type Request struct, Body io.ReadCloser
    pkg net/http, type Request struct, Close bool
    pkg net/http, type Request struct, ContentLength int64
    pkg net/http, type Request struct, Form url.Values
    pkg net/http, type Request struct, Header Header
    pkg net/http, type Request struct, Host string
    pkg net/http, type Request struct, Method string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top