Part of nevow View Source
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 6 | Class | UnexposedMethodError | Raised on any attempt to get a method which has not been exposed. |
| 12 | Class | Expose | Helper for exposing methods for various uses using a simple decorator-style |
| 94 | Function | escapeToXML | Borrowed from twisted.xish.domish |
| 114 | Function | getPOSTCharset | Locate the unicode encoding of the POST'ed form data. |
| 160 | Function | remainingSegmentsFactory | Undocumented |
| 164 | Function | currentSegmentsFactory | Undocumented |
| 191 | Function | resource_filename | Undocumented |
| 197 | Class | CachedFile | Helper for caching operations on files in the filesystem. |
Borrowed from twisted.xish.domish
Escape text to proper XML form, per section 2.3 in the XML specification.| Parameters | text | Text to escape
(type: str
) |
| isattrib | Triggers escaping of characters necessary for use as attribute
values
(type: bool
) |
Locate the unicode encoding of the POST'ed form data.
To work reliably you must do the following:<form action="foo" method="post" enctype="multipart/form-data" accept-charset="utf-8"> <input type="hidden" name="_charset_" /> ... </form>