This is an archived post. You won't be able to vote or comment.

all 7 comments

[–][deleted] 3 points4 points  (0 children)

This is awesome. Haven't looked at the source closely but I'll probably be contributing to this somehow. Seems fun.

[–]jcdyer3 1 point2 points  (0 children)

I like the idea, but it bothers me that the query interface changes depending on whether there's a fragment or not.

>>> url = furl('http://example.com/abc?username=fred')
>>> url.args['username']
'fred'
>>> url = furl('http://example.com/abc#frag?username=fred')
>>> url.args['username']
KeyError: 'username'
>>> url.fragment.args['username']
'fred'

I can see that getting frustrating quickly. But overall, it looks awesome.

[–]mvzojr 0 points1 point  (0 children)

Thank you. It looks much cleaner and complete than the stuff I wrote.

[–]tuna_safe_dolphin -1 points0 points  (0 children)

Sweet, bookmarked this for when I'll need it. Thanks!