Streaming templating languages for use as WSGI body.

Discussion in 'Python' started by Alice Bevan–McGregor, Jan 5, 2011.

  1. Howdy!

    I'm trying to find a templating engine whose templates can be consumed
    directly as a WSGI response body iterable. So far I haven't been very
    successful with Google; the engines I've found universally generate a
    monolithic rendered string.

    Bonus points for templating engines that support flush() mechanics
    internally to allow developer-chosen 'break points' in the iterable.
    Bonus points++ if it can somehow calculate the response body length
    without generating the whole thing monolithically. ;)

    - Alice.
     
    Alice Bevan–McGregor, Jan 5, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?U3RlcGhlbiBSLiBHaWJzb24=?=

    Streaming only the body of an MSWord document

    =?Utf-8?B?U3RlcGhlbiBSLiBHaWJzb24=?=, Jan 19, 2006, in forum: ASP .Net
    Replies:
    5
    Views:
    391
    John Timney \( MVP \)
    Jan 20, 2006
  2. a
    Replies:
    3
    Views:
    308
    Bruno Desthuilliers
    Jun 24, 2006
  3. Ron Garret
    Replies:
    10
    Views:
    776
    Diez B. Roggisch
    Jan 18, 2009
  4. Andy Chu
    Replies:
    1
    Views:
    962
    Paul Rubin
    Apr 17, 2009
  5. Replies:
    1
    Views:
    259
    John Bokma
    Jun 5, 2010
Loading...

Share This Page