Skip to content

Commit

Permalink
Clarify notes on legacy URL deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
szmarczak authored Dec 14, 2019
1 parent d083a59 commit c1c11f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Type: `object`

Any of the [`https.request`](https://nodejs.org/api/https.html#https_https_request_options_callback) options.

**Note:** Legacy URL support is disabled. `options.path` is supported only for backwards compatibility. Instead of the `options.auth`, you should use `options.username` and/or `options.password`.
**Note:** Legacy URL support is disabled. `options.path` is supported only for backwards compatibility. Use `options.pathname` and `options.searchParams` instead. `options.auth` has been replaced with `options.username` & `options.password`.

###### prefixUrl

Expand Down

0 comments on commit c1c11f6

Please sign in to comment.