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 may respond to requests sent after the client asks for the connection to be closed
- ValueError: verify_ssl, ssl_context, fingerprint and ssl parameters are mutually exclusive HOT 2
- Accept-Encoding header parsing and interpretation HOT 15
- Varying node versions & not using NPM clean install
- aiodns can probably be enabled on windows, now that it ships with c-ares already built HOT 3
- Failure introduced from 3.8.5 --> 3.8.6; Passing on 3.9+ HOT 4
- Detailed TimeoutError message not captured when handling asyncio.TimeoutError in aiohttp HOT 8
- after upgrading from 3.8.6 to 3.9.* can't use middlewares anymore HOT 3
- Abrupt client websocket connection loss results in `close_code = OK` HOT 2
- Python package aiohttp>=3.9.2 break azure-keyvault-certificates package's get_certificate functionality HOT 5
- ClientWebSocketResponse.closed is False but WebSocketWriter.transport.is_closing() is True
- CancelledError suppressed where it should not HOT 4
- Technical CancelledError bubbling up where it should not HOT 2
- Building wheel for aiohttp (pyproject.toml) did not run successfully. ←when I enterd pip install chess.com in command prompt HOT 5
- wrong server shutdown order? HOT 14
- request tuto/method how to debug unclosed sessions on exit HOT 7
- 404 returned if only compressed file exists
- loop.run_forever terminated by exception HOT 4
- web_ws - Can't close tcp socket when receiving a close message from client. HOT 18
- Large payloads lead to BrokenPipe inside a request context manager HOT 1
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.