Skip to content

Instantly share code, notes, and snippets.

Avatar

Tim Akinbo takinbo

View GitHub Profile
@mnot
mnot / test_http_conns.py
Created Sep 8, 2010
test_http_conns.py - Tests for how clients handle HTTP pconns and pipelining
View test_http_conns.py
#!/usr/bin/env python
"""
test_http_conns.py - Tests for how HTTP persistent connections are handled,
including pipelining.
This script will set up a server which summarises how a browser connecting
to it behaves. For example, FireFox with pipelining turned on will give:
--->8---
You can’t perform that action at this time.