Run current script as web application
Running this from the editor action menu will launch the script currently being edited as a request handler inside an http server:
The server is then accessed via the built-in web browser. Useful for testing web applications. Any feedback is very much appreciated.
Update: in order to make it a bit more useful, the script now accepts subclasses of BaseHTTPRequestHandler as handlers. See example in module doc.