Transfer-Encoding header field

E233793

The Transfer-Encoding header field is an HTTP/1.1 mechanism that specifies how a message body is encoded for safe and efficient transfer between client and server, such as using chunked encoding.

All labels observed (1)

Label Occurrences
Transfer-Encoding header field canonical 1

How this entity was disambiguated

Statements (49)

Predicate Object
instanceOf HTTP header field
message header field
allows sending message bodies of unknown length at start of transfer
streaming of dynamically generated content
allowsTrailers true when chunked is used
appliesTo HTTP requests
HTTP responses
category message framing mechanism
controls transfer codings applied to the message body
defaultBehavior no transfer coding is applied if header is absent
definedIn HTTP/1.1
determines how the message body is delimited
differenceFromContentEncoding applies to transfer over a single connection, not to representation semantics
distinctFrom Content-Encoding header field
governs order of transfer codings applied
hasDirective chunked
compress
deflate
gzip
trailers
hasProtocolVersion HTTP/1.1
hasRestriction HTTP/1.1 origin servers must not send transfer codings to HTTP/1.0 clients unless compatible
HTTP/1.1 recipients must understand all transfer codings applied
hasSemantics each transfer coding is applied to the previous result
hasTokenType transfer-coding
isHopByHop true
mayInclude extension transfer codings
mustNotBeForwardedBy HTTP proxies without modification of Connection header
mutuallyExclusiveWith Content-Length header field in a single message
positionInMessage header section
primaryMechanism chunked transfer coding
processingRequirement intermediaries must adjust Content-Length if they decode or re-encode
recipients must remove transfer codings before delivering body to higher layers
relatedTo Content-Length header field
replacedByInHTTP2 frame-based message delimitation
replacedByInHTTP3 frame-based message delimitation
requiresForChunked 0-sized final chunk to terminate body
chunk-size line for each chunk
securityConsideration improper use can lead to request smuggling vulnerabilities
specifiedIn RFC 7230
RFC 9112
statusInHTTP2 not used in HTTP/2
statusInHTTP3 not used in HTTP/3
syntaxExample Transfer-Encoding: chunked
Transfer-Encoding: gzip, chunked
usedFor efficient transfer of message bodies
encoding HTTP message bodies
safe transfer of message bodies
usedWith HTTP
surface form: HTTP persistent connections

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

RFC 7230 defines Transfer-Encoding header field