Home | History | Annotate | Download | only in http

Lines Matching refs:Encoding

349 	chunking bool // using chunked transfer encoding for reply body
514 case "Transfer-Encoding", "Content-Length", "Trailer":
1117 []byte("Transfer-Encoding"),
1211 te := header.get("Transfer-Encoding")
1227 // set a Transfer-Encoding, because they're generally incompatible.
1323 // corrupt chunked encoding. In any case, whatever remains
1356 w.conn.server.logf("http: WriteHeader called with both Transfer-Encoding of %q and a Content-Length of %d",
1365 delHeader("Transfer-Encoding")
1367 delHeader("Transfer-Encoding")
1369 // HTTP/1.1 or greater: Transfer-Encoding has been set to identity, and no
1378 // HTTP/1.1 or greater: use chunked transfer encoding
1383 // We will send the chunked Transfer-Encoding header later.
1384 delHeader("Transfer-Encoding")
1389 // encoding and we don't know the Content-Length so
1392 delHeader("Transfer-Encoding") // in case already set
1395 // Cannot use Content-Length with non-identity Transfer-Encoding.