wsproxy.py: add web serving capability.

- Added ability to respond to normal web requests. This is basically
  integrating web.py functionality into wsproxy. This is only in the
  python version and it is off by default when calling wsproxy. Turn
  it on with --web DIR where DIR is the web root directory.

Next task is to clean up wsproxy.py. It's gotten unwieldy and it
really no longer needs to be parallel to the C version.
This commit is contained in:
Joel Martin
2011-01-06 18:26:54 -06:00
parent 58dc1947de
commit 96bc3d3088
4 changed files with 125 additions and 77 deletions

View File

@@ -137,7 +137,7 @@ There a few reasons why a proxy is required:
`./utils/wsproxy.py -f 8787 localhost:5901`
* To run the mini python web server without the launch script:
* To run a mini python web server without the launch script:
`./utils/web.py PORT`