Locate resources#

WebConfiguration.locate_resource(rid)[source]#

return the (directory, filename) where the given resource may be found

WebConfiguration.locate_doc_file(fname)[source]#

return the directory where the given resource may be found

WebConfiguration.locate_all_files(rid, rdirectory='wdoc')[source]#

return all files corresponding to the given resource

Static files handling#

WebConfiguration.static_directory#
WebConfiguration.static_file_exists(rpath)[source]#
WebConfiguration.static_file_open(rpath, mode='wb')[source]#
WebConfiguration.static_file_add(rpath, data)[source]#
WebConfiguration.static_file_del(rpath)[source]#