-
Notifications
You must be signed in to change notification settings - Fork 64
Allow for arbitrary boundaries in incremental delivery RFC #135
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
Comments
I imagine interoperability to be easier if the boundary is prescribed to always be the same. How are different boundaries useful or necessary? |
For multipart requests, boundaries are meant to be a string that doesn't occur anywhere in the content. Implementations such as
|
Interoperability is easier if the boundary is not prescribed because, as Jayden mentions, many clients automatically generate the boundaries. If we prescribe it, people may have to write their own multipart clients. |
Interoperability aside I don't think a specific string can be specified, otherwise if any of the data contains that string the response content is invalid. If a single dash char ( {
"name": "Mary-Louise Smith",
"birthday": "1990-01-02"
} |
I don't believe that situation can occur in JSON:
The closest you could get would be including {
"number":
-1
} |
I also don't think there is the possibility of a boundary of I opened a PR to update the RFC to state that arbitrary boundaries are allowed: #143 I also updated my client library |
Yep 👍 |
As discussed/agreed here: #124 (comment)
CC @robrichard
The text was updated successfully, but these errors were encountered: