Groot is an asynchronous (simple) HTTP 1.1 client and server implementation in python.
- You need python 3.7+
- (To be) asyncio installed
This HTTP stack is a screaming-fast, scalable, asynchronous HTTP implementation. While all the other "screaming-fast" implementation looks on improving the performance of processing the code faster. This stack looks to improve the performace of HTTP request and response through various network protocols and it's adaptations. For example, TCP FASTOPEN etc.
Currently supported features:
- HTTP 1.1 cli client and server (shows header and body buffer).
- Client and server suppots HTTP GET method.
- TCP FASTOPEN.
GET /index.html HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE5.01; Windows NT)
Host: www.example.com
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Connection: Keep-Alive
HTTP/1.1 200 OK
Server: Tornado/4.3
Date: Wed, 18 Oct 2017 14:19:11 GMT
Content-type: text/html; charset=UTF-8
Content-Length: 13
Hello, world!