- From: James Bromwell <notifications@github.com>
- Date: Wed, 15 Sep 2021 01:10:10 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 15 September 2021 08:10:23 UTC
I still don't think anybody has answered Anne's question, and unfortunately I didn't see any libraries or polyfills where this is implemented. Re: the API design discussion upthread, I thought [this analogous data structure](https://guava.dev/releases/23.0/api/docs/com/google/common/collect/ArrayListMultimap.html#remove-java.lang.Object-java.lang.Object-) could be a good place to start, since AFAICT it's basically the same thing. To save you a click, their answer is, `delete("key1", "value1")` removes an *unspecified* `key1=value1` pair. (IMHO, if your backend service relies on treating `a=1&b=2` differently from `b=2&a=1`, it's broken and you should fix it.) -- 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/url/issues/335#issuecomment-919797486
Received on Wednesday, 15 September 2021 08:10:23 UTC