Skip to content

Comment on Show HN: Pump, a dead simple Pythonic abstraction of HTTP.

Comments

The Rack style API is nice for the simplicity. I <3 it.

The Rack style api is NOT a great representation of the HTTP protocol. Specifically anything with a streaming or chunked response.

start_response/yield may not be the absolute best API for this, I haven't thought to much about that. But if you go look into what was done in Rails 3.1 for chunked responses you may realize it's not actually too great.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.