gpt-4o-2024-08-06· OpenAI
WildChat-4.8M (AI2)
Does the http header content-length specify the length of just the message body, or the…
- User
Does the http header content-length specify the length of just the message body, or the entire http request, including headers?
- Assistant
The
Content-LengthHTTP header specifies the length of the message body in bytes, not the entire HTTP request or response. This means it only accounts for the payload data in the body section and excludes the headers themselves.