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

Fix parse() and as_string() methods to get right URL. #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

michal-josef-spacek
Copy link
Contributor

No description provided.

@mschilli
Copy link
Contributor

mschilli commented Apr 3, 2014

I think that's a good idea in general, but I'd be careful changing the uri() function in this way, because there might be legacy applications that would expect uri() to return whatever the parser finds in "GET / HTTP/1.1" without factoring in the additional Host header. How about we offer a new method like uri_abs() to implement the new behavior and leave uri() intact?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants