-
Notifications
You must be signed in to change notification settings - Fork 166
Description
Spinning off from #3193 (comment)
The spec as is (draft 10) is unclear on whether clients MUST respect limits a server sends down via a Upload-Limit header.
"The client SHOULD respect any limits (Section 4.1.4) announced in the Upload-Limit header field in interim or final responses" -> implies optional but strongly recommended
"max-append-size: Specifies a maximum size counted in bytes for the request content in a single upload append request (Section 4.4). The server might reject requests exceeding this limit. A client that is aware of this limit MUST NOT send larger upload append requests. The value is an Integer." -> implies clients are required to respect this limit (since why wouldn't they be "aware" of it? It's included in the spec, and clients are guaranteed to have received it in the Upload Creation response if the server sets it).
Overall I'd be keen to make as clear as possible that it's (at least) strongly recommended that clients which intend to be maximally interoperable with a variety of servers respect all known Upload-Limits.
I'm happy to take a stab at rewording to try to remove this ambiguity if helpful, but lets first align on the desired end state.