Antoine Pitrou <solipsis at pitrou.net> wrote: > Bill Janssen <janssen <at> parc.com> writes: > > > > Or even better, stop trying to use a mapping, and just make the "params" > > value a list of (name, value) pairs. > > You can even accept both a list of (name, value) pairs /and/ some **kwargs, like > the dict constructor does. It would be a pity to drop the user-friendliness of > kwargs just to satisfy some rare and obscure requirement. This whole discussion seems a bit "rare and obscure" to me. I've built URLs for years without this method, and never felt the lack. What bugs me is the lack of a way to build multipart-formdata payloads, the only standard way to send non-Latin1 strings as part of a request. I'd like to suggest we move this off python-dev, and to either the Web-SIG or stdlib-sig mailing lists, which are probably more interested in all of this. Bill
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4