Tuesday, December 5. 2006QUERY_STRING changes to servers, API changes to GzipMiddleware, future changesTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Paste has a gzipping middleware too. I don't know what more flup's does, though it has more code, so it does do more. If you think it has extra features, it could potentially move to Paste and replace the implementation currently there.
It seems like Luke Arno uses your session middleware in his stuff, he might be willing to take it on as a separate package. Paradoxically, flup's gzip middleware has far more code so it can do less -- namely not buffer the output. The WSGI spec calls for wrapped iterators to yield at least 1 string whenever the underlying iterator yields a string (i.e. no buffering). In practice, though, I don't know how much it matters.
Feature-wise, flup's and Paste's implementations are pretty much the same. Paste's version, however, doesn't work with generators... probably a consequence of buffering? But I'm just not comfortable with the complexity of flup's middleware. Surely it will need more testing. |
LinksCalendarQuicksearchCategoriesBlog Administration |