HTTP in Python: which library for what task?

Description

HTTP in Python: which library for what task?

Presented by Augie Fackler

HTTP is the lingua franca of the web, and many things done in Python depend on it, yet HTTP in Python isn't always as good as one would expect. It's well worth knowing the options and tradeoffs available.

Abstract

HTTP in Python is very much a mixed bag of available technology. What's implemented mostly works well, but there are some frustrating gaps in different libraries that are poorly documented. I've gone wading through every HTTP library I can find for Python while trying to fix an obscure bug in Mercurial and decided to write my own. I'll cover what's available today and why I'm starting from scratch with a completely new implementation.