Skip to content

Commit

Permalink
Add explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
krasun committed Sep 23, 2024
1 parent 6602a95 commit 60138d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,9 @@ const commonOptionsScheme = Joi.object({
headers: Joi.array().items(),
cookies: Joi.array().items(),
proxy: Joi.string()
// `encodeUri` allows to specify Unicode characters in the proxy URI
// it is useful when targeting is used in proxies and cities or countries are specified
// with special characters
.uri({ scheme: ["http"], encodeUri: true })
.optional(),

Expand Down

0 comments on commit 60138d9

Please sign in to comment.