-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content and Payload #878
Comments
|
Reading semantics I have some doubts on C-L wrt partial representation
this seems to be the full representation data (eg. see C-L + HEAD). But then
what happens with |
|
"A Content-Length header field present in a 206 response indicates the number of octets in the content of this message, which is usually not the complete length of the selected representation. Each Content-Range header field includes information about the selected representation's complete length." So the case of a 206 response is special-cased. |
|
It seems to me that C-L is more often used to convey "messaging" information, than the actual metadata (which happens only when HEAD is used). |
I'm a little uneasy that the majority of headers that are prefixed with
Content-are actually scoped to the selected representation.E.g.,
Content-Length,Content-Type,Content-Encoding,Content-Language. The only registered, currentContent-headers that actually about the content (using the current definition in Semantics) areContent-LocationandContent-Disposition, AFAICT. Not sure aboutContent-Range; it's defined in terms of the selected representation, but could equally be defined in terms of content, I suspect.It might help to add a small note to the content section that explains that the
Content-prefix doesn't necessarily imply that the header is strictly about the content. Also might be worth mentioning in the registration considerations.The text was updated successfully, but these errors were encountered: