| Home | Trees | Indices | Help |
|
|---|
|
|
Guesses the content length header if possible.
Note:
The application used must not use the write callable
returned by start_response.
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Wraps wsgi application app. If the application returns a list, the total length of strings is available and the content length header is set unless there already is one. For an iterator data is accumulated up to a total of maxstore bytes (where maxstore=() means infinity). If the iterator is exhaused within maxstore bytes a content length header is added unless already present.
Note: that setting maxstore to a value other than 0 will violate the wsgi standard |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Mar 10 15:01:50 2020 | http://epydoc.sourceforge.net |