-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
aiohttp.HttpClient #58
Comments
i have two use case at the moment for this class:
i'd rather see hooks for custom failure detection than removing this class. |
In private chat with @fafhrd91 we decided to leave HttpClient for now. |
Hi @asvetlov, I'm not agree with you.
Nevertheless, Client API could be improved to be easier to use, and also error handling. |
I don't want to split aiohhtp to several projects. Have you some ideas for improvement Client API and error handling? |
I don't made enough code with Client API to have a pertinent opinion for now. |
What the purpose of the class?
From my perspective it solves very specific problem and should be moved to some separate project if you really need for it.
For example now I'm solving similar problem but my criteria for 'good' answer much more complex -- even if host send a response the host may be marked as 'failed' by analyzing response status code, body and headers.
I think there are no common solution for the problem -- or the solution will be too complicated for simple and low level library like aiohttp.
The text was updated successfully, but these errors were encountered: