-
-
Notifications
You must be signed in to change notification settings - Fork 965
Open
Labels
enhancementgood first issueComment on this issue if you'd like to volunteer to work on this. Thanks!Comment on this issue if you'd like to volunteer to work on this. Thanks!
Milestone
Description
As we are planning to add OpenAPI spec affordances down the 4.x road, we'll need to make adjustments to our request utility methods.
Add a new delimiter keyword arg to req.get_param_as_list()
.
If provided (otherwise default None
), the supported values should be:
','
: comma separated' '
: space separated, same asspaceDelimited
in the spec'|'
: pipe separated, same aspipeDelimited
in the spec
Should we also accept string atoms 'spaceDelimited'
and 'pipeDelimited'
directly as in the spec?
If provided, the splitting on the delimiter will always occur after percent-decoding, document this. The examples in the spec also illustrate that spaces and pipes are percent-encoded. Compare and contrast this with the request option to pre-split on comma.
Metadata
Metadata
Assignees
Labels
enhancementgood first issueComment on this issue if you'd like to volunteer to work on this. Thanks!Comment on this issue if you'd like to volunteer to work on this. Thanks!