| Trees | Index | Help |
|---|
| Package WebStack :: Package Helpers :: Module Request :: Class FileContent |
|
A simple class representing uploaded file content. This is useful in holding
metadata as well as being an indicator of such content in environments such
as Jython where it is not trivial to differentiate between plain strings and
Unicode in a fashion also applicable to CPython.
Instances of this class contain the following attributes:
* content - a plain string containing the contents of the uploaded file
* headers - a dictionary containing the headers associated with the
uploaded file
| Method Summary | |
|---|---|
Initialise the object with 'content' and optional 'headers' describing the content. | |
__str__(self)
| |
| Method Details |
|---|
__init__(self,
content,
headers=None)
|
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Mar 1 00:37:14 2007 | http://epydoc.sf.net |