Lines Matching refs:Transfer
167 // Write Content-Length and/or Transfer-Encoding whose values are a
178 if _, err := io.WriteString(w, "Transfer-Encoding: chunked\r\n"); err != nil {
189 case "Transfer-Encoding", "Trailer", "Content-Length":
289 suppressedHeaders304 = []string{"Content-Type", "Content-Length", "Transfer-Encoding"}
290 suppressedHeadersNoBody = []string{"Content-Length", "Transfer-Encoding"}
326 // Transfer semantics for Requests are exactly like those for
339 // Transfer encoding, content length
365 // If there is no Content-Length or chunked Transfer-Encoding on a *Response
427 // Sanitize transfer encoding
429 raw, present := header["Transfer-Encoding"]
433 delete(header, "Transfer-Encoding")
448 return nil, &badStringError{"unsupported transfer encoding", encoding}
454 return nil, &badStringError{"too many transfer encodings", strings.Join(te, ",")}
459 // contains a Transfer-Encoding header field."
463 // Transfer-Encoding and a Content-Length header
464 // field, the Transfer-Encoding overrides the
510 // Logic based on Transfer-Encoding
536 // no body if neither Transfer-Encoding chunked nor a
581 case "Transfer-Encoding", "Trailer", "Content-Length":