Home | History | Annotate | Download | only in http

Lines Matching refs:Encoding

337 	chunking bool // using chunked transfer encoding for reply body
501 case "Transfer-Encoding", "Content-Length", "Trailer":
1089 []byte("Transfer-Encoding"),
1183 te := header.get("Transfer-Encoding")
1199 // set a Transfer-Encoding, because they're generally incompatible.
1295 // corrupt chunked encoding. In any case, whatever remains
1328 w.conn.server.logf("http: WriteHeader called with both Transfer-Encoding of %q and a Content-Length of %d",
1337 delHeader("Transfer-Encoding")
1339 delHeader("Transfer-Encoding")
1341 // HTTP/1.1 or greater: Transfer-Encoding has been set to identity, and no
1350 // HTTP/1.1 or greater: use chunked transfer encoding
1355 // We will send the chunked Transfer-Encoding header later.
1356 delHeader("Transfer-Encoding")
1361 // encoding and we don't know the Content-Length so
1364 delHeader("Transfer-Encoding") // in case already set
1367 // Cannot use Content-Length with non-identity Transfer-Encoding.