Comments (8)
I agree, but I'd make separate parameters for login and password
from aiohttp.
But aiohttp.request
accepts auth
as tuple of (login, password)
from aiohttp.
I think that was wrong decision. I used requests library as an example, but that's wrong
from aiohttp.
We have to be consistent.
If we will use login
and password
as parameters for Proxy Connector
than we need to support that in aiohttp.request too (as well as in other
places).
On Thu, Jun 26, 2014 at 6:43 PM, Nikolay Kim [email protected]
wrote:
I think that was wrong decision. I used requests library as an example,
but that's wrong—
Reply to this email directly or view it on GitHub
#84 (comment).
Thanks,
Andrew Svetlov
from aiohttp.
I agree. How about basic_login instead of just login or basic_auth_login—
Sent from Mailbox
On Thu, Jun 26, 2014 at 8:48 AM, Andrew Svetlov [email protected]
wrote:
We have to be consistent.
If we will uselogin
andpassword
as parameters for Proxy Connector
than we need to support that in aiohttp.request too (as well as in other
places).
On Thu, Jun 26, 2014 at 6:43 PM, Nikolay Kim [email protected]
wrote:I think that was wrong decision. I used requests library as an example,
but that's wrong—
Reply to this email directly or view it on GitHub
#84 (comment).Thanks,
Andrew Svetlov
Reply to this email directly or view it on GitHub:
#84 (comment)
from aiohttp.
basic_login
and basic_passwd
?
Both should be either None
or not None
from aiohttp.
Looks good. And proxy_login for proxy—
Sent from Mailbox
On Thu, Jun 26, 2014 at 8:57 AM, Andrew Svetlov [email protected]
wrote:
basic_login
andbasic_passwd
?Both should be either
None
or notNone
Reply to this email directly or view it on GitHub:
#84 (comment)
from aiohttp.
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.
If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.
from aiohttp.
Related Issues (20)
- aiohttp.org site is down HOT 1
- Server; POST-request; BadStatusLine: 400; an endless stream of exception messages that have no impact on operation.
- Broken timeout system with ws_connect HOT 1
- graceful shutdown order and cleanup contexts HOT 7
- ValueError: I/O operation on closed file in aiohttp payload size property on file uploading using form HOT 1
- Allow reading already retrieved response body after connection is closed HOT 2
- Support for sending Trailer headers HOT 2
- Separate exception for DNS errors
- Weak Etag can not trigger negotiation caching
- The set request parameters were not used HOT 16
- Cannot make request behind a plain http proxy, aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host xxx ssl:default [None] HOT 1
- Exception with aiohttp Using HTTP Proxy in some cases HOT 1
- aiohttp cannot be used in python 3.14. HOT 4
- Iterate over response data (streaming) without decoding content HOT 1
- With forced TLSv1.3, still TLSv1.0 Client Hello is sent HOT 6
- 3.10.0 and 4.0.0 incorrectly reject wss:// urls HOT 3
- Http query character encoding issues HOT 1
- FastAPI integration HOT 2
- Doc Add ConnectionResetError exception to ClientWebSocketResponse documentation
- BaseConnector limit if of type `int` but documentation suggests `None` as an option
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aiohttp.