Re: [whatwg/url] Make URLSearchParams' record constructor more flexible (#204)

As for "developer feedback": If I recall correctly, libraries like `express` and `request` often have headers in that object format. Maybe a bit more niche, but the chrome devtools protocol has headers in this format as well. I've been bitten by bugs in my applications when I didn't expect an array in those objects. One of those bugs led me to open https://github.com/whatwg/url/issues/206 as I assumed `URLSearchParams` was compatible with this format.
I'd say both libraries are big enough to justify this feature request though.


-- 
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/pull/204#issuecomment-276708401

Received on Wednesday, 1 February 2017 16:39:51 UTC