Asynchronous HTTP Client/Server for asyncio and Python. AIOHTTP supports both client and server side of HTTP protocol. A long awaited new feature is tracing client request life cycle to figure out when and why client request spends a time waiting for connection establishment, getting server response headers etc. Now it is possible by registering special signal handlers on every request processing stage. The main change is dropping yield from support and using async/await everywhere. Farewell, Python 3.4. You often want to send some sort of data in the URL’s query string. If you were constructing the URL by hand, this data would be given as key/value pairs in the URL after a question mark, e.g. httpbin.org/get?key=val. Requests allows you to provide these arguments as a dict, using the params keyword argument. aiohttp internally performs URL canonicalization before sending request.

Features

  • Supports both Client and HTTP Server
  • Supports both Server WebSockets and Client WebSockets out-of-the-box without the Callback Hell
  • Web-server has Middlewares, Signals and plugable routing
  • For speeding up DNS resolving by client API you may install aiodns as well
  • No need to type separate commands anymore!
  • Optional cchardet as faster replacement for chardet

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow AIOHTTP

AIOHTTP Web Site

You Might Also Like
Hackers Hate This: Free WAF for Dummies eBook Icon
Hackers Hate This: Free WAF for Dummies eBook

Are your applications exposed to relentless cyber threats? Lock them down with expert know-how.

Unveil the ultimate guide to Web Application Firewalls (WAFs). Packed with expert tips, real-world solutions, and step-by-step strategies, this eBook from F5 empowers you to shield your web apps and APIs from today’s toughest threats. Don’t wait for a breach – grab your free copy now and fortify your defenses today!
Get the free eBook
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5

User Reviews

  • nice. perfect for developing my web scraping project.
Read more reviews >

Additional Project Details

Operating Systems

Windows

Programming Language

Python

Related Categories

Python HTTP Servers, Python Frameworks, Python HTTP Clients

Registered

2021-05-25