Skip to content

saiksaketh/h2-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

H2-example

An example of HTTP/2 client and server implemented with hyper-h2. Initially, the client sends a POST request to the server and the server responses with the corresponding content. Meanwhile, the server uses SERVER PUSH to send a new response before receiving the request from the client.

Install

The code is tested on Python 3.6.5. Running on other versions may require some changes in the code.

python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

Start Server

python -m basic.server

Start Client

python -m basic.client

About

HTTP/2 client&server example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • HTML 0.2%