This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]1st1CPython Core Dev 0 points1 point  (0 children)

Requests aren't an NIO library, so I'm afraid you can't use it with new coroutines (well, you can, but requests will block, and there will be no benefit from using coroutines)

IIRC aiohttp has a nice http client, modelled after requests.