- From: Michaël Dierick <notifications@github.com>
- Date: Thu, 26 Mar 2020 12:47:17 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 26 March 2020 19:47:31 UTC
The current [example for using query parameters](https://fetch.spec.whatwg.org/#fetch-blob-example) **writes** to the [`searchParams`](https://developer.mozilla.org/en-US/docs/Web/API/URL/searchParams) property of [`URL`](https://developer.mozilla.org/en-US/docs/Web/API/URL), which is now [**readonly**](https://www.fxsitecompat.dev/en-CA/docs/2015/urlutils-searchparams-is-now-readonly/). This patch updates the example to make use of [URLSearchParams](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams) to set query parameters instead. You can view, comment on, or merge this pull request online at: https://github.com/whatwg/fetch/pull/1011 -- Commit Summary -- * Update query parameters example * Add acknowledgement -- File Changes -- M fetch.bs (6) -- Patch Links -- https://github.com/whatwg/fetch/pull/1011.patch https://github.com/whatwg/fetch/pull/1011.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1011
Received on Thursday, 26 March 2020 19:47:31 UTC