-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
Make HTTP request directly from URL object #281
Comments
I think this is out of the scope of this project. Also, which framework will it use behind the scenes? Why it's synchronous? How it will get manage sessions, keep-alives, cookies and the rest things which aren't related to URL object? |
I would say Requests |
Ok. Then what stops you from writing:
? In this case you gain full power of http client while URL remains about urls. |
Absolutely nothing. |
That feature will cost a lot for this project with oblivious limitations, while it's all about to save you 9 chars from typing. Does it worth it? |
@Kilo59 sorry. |
The
urlpath
library has this convienent feature. Would it be possible to implement this inyarl
?Maybe have this installable as an extra?
pip install yarl[requests]
The text was updated successfully, but these errors were encountered: