Module n.static

Part of nevow View Source

I deal with static resources.
Line # Kind Name Docs
37 Function isDangerous Undocumented
40 Class Data This is a static, in-memory resource.
77 Function staticHTML Undocumented
81 Function addSlash Undocumented
87 Class Registry I am a Componentized object that will be made available to internal Twisted
104 Function loadMimeTypes Multiple file locations containing mime-types can be passed as a list.
143 Function getTypeAndEncoding Undocumented
154 Class File File is a resource that represents a plain non-interpreted file
364 Class FileTransfer A class to represent the transfer of a file over the network.
414 Class ASISProcessor Undocumented
def isDangerous(path): (source)
Undocumented
def staticHTML(someString): (source)
Undocumented
def addSlash(request): (source)
Undocumented
def loadMimeTypes(mimetype_locations='/etc/mime.types'): (source)
Multiple file locations containing mime-types can be passed as a list. The files will be sourced in that order, overriding mime-types from the files sourced beforehand, but only if a new entry explicitly overrides the current entry.
def getTypeAndEncoding(filename, types, encodings, defaultType): (source)
Undocumented
API Documentation for Nevow, generated by pydoctor.