Standard actions that are useful for the operation of a web server.
Functions
| func_update(new_func, old_func) | Creates a wrapper function that calls new_func, then if the return value |
| http_date([timestamp]) | Formats the time to match the RFC1123 date format. |
| isabs(s) | Test whether a path is absolute |
| isdir(s) | Return true if the pathname refers to an existing directory. |
| isfile(path) | Test whether a path is a regular file |
| list_or_value(v) | |
| wrap_file(environ, file[, buffer_size]) | Wraps a file. |
Classes
| Action(req, params) | Represents an action that can be taken by the server. |
| CacheControl(req, params) | An Action which checks whether it’s appropriate to raise a NotModified exception. |
| ContentLengthAction(req, params) | An Action to set the Content-Length header. |
| ContentMD5Action(req, params) | An action to set the Content-MD5 header. |
| ContentTypeAction(req, params) | A handler which guesses and/or assigns a value for the Content-Type header. |
| DateAction(req, params) | An action which assigns the Date header to the response. |
| DirectoryIndex(req, params) | An action that alters the environment to insert a filename at the end of |
| DirectoryResource(req, params) | A base class for an action that returns a directory listing. |
| DocumentRoot(req, params) | |
| Expires(req, params) | An Action which sets the Expires header. |
| FileResource(req, params) | A base class for an action that reads the contents of a file. |
| GetDataAggregator(req, params) | Collects query string parameters from the request and adds them to the parameter list. |
| NoCacheAction(req, params) | An action which sets the headers to disable caching by clients. |
| NoopCanonicalizer(req, params) | Sets the canonical URL based on the actual URL. |
| PostDataAggregator(req, params) | Collects HTTP POST data from the request and adds it to the parameter list. |
| Redirect(req, params) | |
| RequestDataAggregator(req, params) | Transfers parameters from the request’s POST data and query string to the |
| Statics(req, params) | Injects a set of static parameters into the parameter list. |
| Template(source[, filename, charset, ...]) | Represents a simple text based template. |
| WerkzeugCanonicalizer(req, params) | Sets the canonical URL based on a MapAdapter produced by a previous Werkzeug router. |
| datetime | datetime(year, month, day[, hour[, minute[, second[, microsecond[,tzinfo]]]]]) |