Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 534 Bytes

twisted-head-example.rst

File metadata and controls

17 lines (12 loc) · 534 Bytes

Twisted Example Client: Head Requests

This example is a basic HTTP/2 client written for the Twisted asynchronous networking framework.

This client is fairly simple: it makes a hard-coded HEAD request to http2bin.org and prints out the response data. Its purpose is to demonstrate how to write a very basic HTTP/2 client implementation.

../../examples/twisted/head_request.py