Closed
Description
When using URI.with
, the query part is always escaped. As the query entry doesn't accept object either, I have to concat uri manually.
Opt 1: Allow query to be object, thus it will be encoded inside.
uri.with({
query: {
abc: 'def'
}
})
Opt 2: Add an extra option to control whether query should be escaped.
uri.with({
query: 'abc=def',
escapeQuery: false
})
Metadata
Assignees
Labels
No labels