|
|
|
|
|
by sigil
5437 days ago
|
|
As a special case, how about allowing the response body to be an iterable, and writing whatever blocks of data it produces back to the client? You should also allow multiple headers with the same field-name, since that's in the spec. I like the idea of Pump, and am tired of frameworks protecting me from HTTP. EDIT: Looking at the WebOb code. It does have quite a few conveniences for working with HTTP messages. I'm not sure if copying bodies into temp files in order to make them seekable is a "completely fantastic way" of doing things, but if I were you I'd definitely read through WebOb to see what kind of problems you might be up against. |
|