-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
clarificationrequests to clarify, but not change, part of the specrequests to clarify, but not change, part of the specparam serializationIssues related to parameter and/or header serializationIssues related to parameter and/or header serializationquestion
Milestone
Description
The specification says that spaceDelimited
should be used for array or object values. How should an space be escaped when serializing into this format?
Example
Given the array ["Hello World", "Nice to see you"]
serialization of this value using the spaceDelimited
style is not properly defined.
Options
Hello%20World%20Nice%20to%20see%20you
: Looses informationHello%20World Nice%20to%20see%20you
: Doesn't follow from the examples on the specHello World%20Nice to see you
: Is not valid as a query parameter. If we URLEncode again then the separator ends up URLEncoded twice.Hello%2520World%20Nice%2520to%2520see%2520you
: Encodes the array items twice. I think this is the most reasonable option but it is a bit weird.Hello%20World%2520Nice%20to%20see%20you
: Ecodes the separator twice.
Metadata
Metadata
Assignees
Labels
clarificationrequests to clarify, but not change, part of the specrequests to clarify, but not change, part of the specparam serializationIssues related to parameter and/or header serializationIssues related to parameter and/or header serializationquestion