John Feusi
John Feusi
@rodrigoreis22 when I had this issue it was because I was trying to use the directive as an element. Changing `` to `` solved the issue for me.
Sorry, I meant to add this snippet as well. ```python import aiohttp import asyncio client = aiohttp.ClientSession() auth = aiohttp.auth.DigestAuth('usr', 'psswd', client) async def fetch(url, **kwargs): return await auth.request('GET', url,...
Obviously, I can add tests, documentation, etc. Before I go through all that though, I just wanted to see if there is any interest in it.
That was the kind of discussion I was looking for. It sounds like you guys would prefer to keep it separated like it currently is. I'll go ahead and add...
So I updated the pull request to following the contributing guidelines (test, docs, etc.). Since it has been a while I also went ahead and merged the latest from aio-libs/aiohttp:master...
When I merged your master in I made the mistake of leaving the test_dummy_cookie_jar test in when I was fixing the merge conflicts. Removing it appears to have fixed the...
The difficult part is that for digest auth there is potentially a second request that needs to be launched, and the whole point of the helper is so that you...
In your case, wouldn't it be `resp = await session.request('get', '/')`? I referenced the requests library pretty heavily when I was creating this feature and they use event hooks so...
The before hook would be needed to add support for the auth-int quality of protection. Right now, if they server specifies auth-int for qop, we raise an error. But if...
Unfortunately, @Drarok's solution didn't work for me. It is incredibly frustrating not having a stack trace in the logs.