Skip to content
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

Server ignoring representation metadata #2873

Open
ioggstream opened this issue Aug 28, 2024 · 1 comment
Open

Server ignoring representation metadata #2873

ioggstream opened this issue Aug 28, 2024 · 1 comment

Comments

@ioggstream
Copy link
Contributor

ioggstream commented Aug 28, 2024

Question

The consequences of a server ignoring representation metadata are not clear to me.
Is this related to the fact that they are associated with the upload resource?
OTOH, Content-Type and Content-Encoding are associated with the target resource.

Server MAY interpret this metadata or MAY ignore it.

https://github.com/httpwg/http-extensions/blame/9ecc41277598ece1ab372b9f8c141b1838783e56/draft-ietf-httpbis-resumable-upload.md#L276

Then, we have:

The server SHOULD respect representation metadata received during creation

@Acconut
Copy link
Member

Acconut commented Sep 10, 2024

IIRC, the statement about ignoring metadata was originally intended for Content-Disposition. Clients can set this header to indicate a filename, but servers are not required to respect or process it.

But the statement doesn't add much value to the draft, so we can probably get rid of "Servers MAY interpret this metadata or MAY ignore it". Thanks for bringing this up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants