Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Better URL parsing in the HTTP constructor #11

Open
brunobord opened this Issue Oct 25, 2011 · 0 comments

Comments

Projects
None yet
1 participant
Contributor

brunobord commented Oct 25, 2011

the URL parsing in https://github.com/sebastien/watchdog/blob/master/Sources/watchdog.py#L868 is not very "pythonic".

there's a very nice module in the Standard Library for this: urlparse

http://docs.python.org/library/urlparse.html

that was one of the patches I wanted to work on, but I haven't got time yet. If someone wants to convert this series of "splits", please, hack on. :op

(and if nobody does, I may eventually find time)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment