Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .url() parser #6

Closed
IlyaSemenov opened this issue Aug 23, 2016 · 1 comment

Comments

@IlyaSemenov
Copy link

commented Aug 23, 2016

I think URLs deserve first-class handling in environs, using urllib.parse.urlparse as the parser and throwing the corresponding exception when the value is formatted incorrectly.

I know I can plug it in myself. But URLs are built-in Python functionality and framework-agnostic, I don't see how they are different from, say, timedeltas.

@sloria

This comment has been minimized.

Copy link
Owner

commented Aug 24, 2016

You make a fair case. I would certainly review and merge a PR adding a url parser. =)

@sloria sloria closed this in 38d5f84 Jan 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.