Package WebStack :: Package Helpers :: Module Request :: Class FileContent
[show private | hide private]
[frames | no frames]

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.
Method Summary
  __init__(self, content, headers)
Initialise the object with 'content' and optional 'headers' describing the content.
  __str__(self)

Method Details

__init__(self, content, headers=None)
(Constructor)

Initialise the object with 'content' and optional 'headers' describing the content.

Generated by Epydoc 2.1 on Tue Dec 6 18:20:22 2005 http://epydoc.sf.net