PWebS is an HTTP server written in Python. It is
intended to be used for testing, but it implements
a multi-threaded architecture, CGI/1.1 with GET
and POST methods, supports PHP through the CGI
interface, and directory listing. It also features
a caching system, which stores all pages (static
or dynamically generated) in memory to improve the
speed of the server and reduce the overall load.
Requests and server errors are logged, and the
server can drop root privileges to run as a
specific user.