Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
grun
on Dec 13, 2011
|
parent
|
context
|
favorite
| on:
Python URL manipulation made simple.
Query parameters as a dictionary was an ease of use tradeoff over the rarely utilized flexibility of repeated query parameters.
https://github.com/gruns/furl/blob/master/furl.py#L142
Werkzeug's MultiDict looks like a good combination for the best of both worlds, ease of use and flexibility. Thanks for the reference.
ubernostrum
on Dec 13, 2011
|
next
[–]
Repeated query parameters aren't "rarely utilized" -- look at how any sort of checkbox or other multi-select works.
rch
on Dec 13, 2011
|
prev
[–]
I have to second the MultiDict suggestion -- I was very happy to see Werkzeug had gone that route when I had to throw some Python in front of Solr.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: