- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for encoding1 (0.4 sec)
-
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
.clearHeaders() .addHeader("Transfer-encoding: chunked") .build(), ) getResponse(newRequest("/")).use { response -> assertContent("ABCDE", response) } } @Test fun missingChunkBody() { server.enqueue( MockResponse.Builder() .body("5") .clearHeaders() .addHeader("Transfer-encoding: chunked") .socketPolicy(DisconnectAtEnd)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
src/net/http/transport_test.go
if req.Method == "HEAD" { if g := req.Header.Get("Accept-Encoding"); g != "" { t.Errorf("HEAD request sent with Accept-Encoding of %q; want none", g) } return } if g, e := req.Header.Get("Accept-Encoding"), "gzip"; g != e { t.Errorf("Accept-Encoding = %q, want %q", g, e) } rw.Header().Set("Content-Encoding", "gzip") var w io.Writer = rw var buf bytes.Buffer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
.addHeader("Expires: " + formatDate(-1, TimeUnit.HOURS)) .addHeader("Content-Encoding: gzip") .build(), ) server.enqueue( MockResponse.Builder() .code(HttpURLConnection.HTTP_NOT_MODIFIED) .addHeader("Content-Type: text/plain") .addHeader("Content-Encoding: identity") .build(), ) server.enqueue( MockResponse.Builder()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
src/net/http/serve_test.go
defer res.Body.Close() if g, w := res.Header.Get("Content-Encoding"), tt.contentEncoding; g != w { if w != nil { // The case where contentEncoding was set explicitly. t.Errorf("Content-Encoding mismatch\n\tgot: %q\n\twant: %q", g, w) } else if g != "" { // "" should be the equivalent when the contentEncoding is unset. t.Errorf("Unexpected Content-Encoding %q", g) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
src/net/http/server.go
w.closeAfterReply = true delHeader("Transfer-Encoding") } else { // HTTP/1.1 or greater: use chunked transfer encoding // to avoid closing the connection at EOF. cw.chunking = true setHeader.transferEncoding = "chunked" if hasTE && te == "chunked" { // We will send the chunked Transfer-Encoding header later. delHeader("Transfer-Encoding") } } } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
.body(gzippedBody) .addHeader("Content-Encoding: gzip") .build(), ) // Confirm that the user request doesn't have Accept-Encoding, and the user // response doesn't have a Content-Encoding or Content-Length. val userResponse = executeSynchronously("/") userResponse.assertCode(200) .assertRequestHeader("Accept-Encoding") .assertHeader("Content-Encoding")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
src/cmd/internal/obj/x86/asm6.go
) const ( // Encoding for VEX prefix in tables. // The P, L, and W fields are chosen to match // their eventual locations in the VEX prefix bytes. // Encoding for VEX prefix in tables. // The P, L, and W fields are chosen to match // their eventual locations in the VEX prefix bytes. // Using spare bit to make leading [E]VEX encoding byte different from
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 146.9K bytes - Viewed (0) -
src/vendor/golang.org/x/text/unicode/bidi/tables10.0.0.go
// version. var xorMasks = []int32{ // 8 elements 0, 1, 6, 7, 3, 15, 29, 63, } // Size: 56 bytes // lookup returns the trie value for the first UTF-8 encoding in s and // the width in bytes of this encoding. The size will be 0 if s does not // hold enough bytes to complete the encoding. len(s) must be greater than 0. func (t *bidiTrie) lookup(s []byte) (v uint8, sz int) { c0 := s[0] switch { case c0 < 0x80: // is ASCII
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 110.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/cases/tables13.0.0.go
"STSt\x12\x12stSTSt\x14$մնՄՆՄն\x14$մեՄԵՄե\x14$միՄԻՄի\x14$վնՎՆՎն\x14$մխՄԽՄ" + "խ" // lookup returns the trie value for the first UTF-8 encoding in s and // the width in bytes of this encoding. The size will be 0 if s does not // hold enough bytes to complete the encoding. len(s) must be greater than 0. func (t *caseTrie) lookup(s []byte) (v uint16, sz int) { c0 := s[0] switch { case c0 < 0x80: // is ASCII
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 100.7K bytes - Viewed (0) -
src/crypto/x509/x509_test.go
"crypto/ecdh" "crypto/ecdsa" "crypto/ed25519" "crypto/elliptic" "crypto/rand" "crypto/rsa" _ "crypto/sha256" _ "crypto/sha512" "crypto/x509/pkix" "encoding/asn1" "encoding/base64" "encoding/gob" "encoding/hex" "encoding/pem" "fmt" "internal/testenv" "io" "math" "math/big" "net" "net/url" "os/exec" "reflect" "runtime" "slices" "strings" "testing"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0)