This module contains the Web specific parts of modelr.
Main program to strat a web server.
Created on Apr 30, 2012
@author: sean
Handles a single request.
handle a get request.
Evaluate a script in the scripts directory.
Run a script
Parameters: |
|
---|
Send an error related to the script.
shut down the application
Main method starts a server and exits on
An place holder for an url argument.
Exception to be called when arguments are not as expected by the parser.
Exception to be called when the help argument is found.
Parse a key=value arguments in a url string.
Modeled after http://docs.python.org/dev/library/argparse.html
add an argument
parse the arguments gotten by urlparse.parse_qs
parse a url into its argument.