Home | History | Annotate | Download | only in http

Lines Matching refs:Encoding

15 	"encoding/json"
656 rw.Header().Set("Transfer-Encoding", req.FormValue("te"))
859 w.(Flusher).Flush() // force chunked encoding
1019 w.Header().Set("Transfer-Encoding", "identity")
1379 contentLen = "Transfer-Encoding: chunked"
1635 "Transfer-Encoding: chunked\r\n" +
1705 "Transfer-Encoding: chunked\r\n" +
1707 "hax\r\n" + // Invalid chunked encoding
1737 "Transfer-Encoding: chunked\r\n" +
2668 t.Errorf("For version %q, Transfer-Encoding = %q; want none", version, te)
3024 if !strings.Contains(got, "Transfer-Encoding: chunked") {
3042 if !strings.Contains(got, "Transfer-Encoding: chunked") {
3955 // Content-Type) if a Transfer-Encoding was set by the handler.
3959 w.Header().Set("Transfer-Encoding", "foo")
4397 w.Header().Set("Transfer-Encoding", "chunked")
4401 const hdr = "Transfer-Encoding: chunked"
4412 w.Header().Set("Transfer-Encoding", "gzip")
4419 hdr := "Transfer-Encoding: " + v
4678 Accept-Encoding: gzip,deflate,sdch
4731 Accept-Encoding: gzip,deflate,sdch