# HG changeset patch # User paulb # Date 1137347652 0 # Node ID 49153087afc9ff9ce491bee6da01cd718aab032d # Parent 0a56162f044887a0bb71c057e6b708c708bacef9 [project @ 2006-01-15 17:54:12 by paulb] Improved the documentation for FileContent. diff -r 0a56162f0448 -r 49153087afc9 WebStack/Helpers/Request.py --- a/WebStack/Helpers/Request.py Sat Jan 14 01:55:15 2006 +0000 +++ b/WebStack/Helpers/Request.py Sun Jan 15 17:54:12 2006 +0000 @@ -170,6 +170,12 @@ 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 """ def __init__(self, content, headers=None):