1) WEB_PATH should path relative to document root of web server. 2) HTTP request should contain "Host" header of format "host:port". 3) Port number in the example should be configurable.
1) WEB_PATH should path relative to document root of web server. 2) HTTP request should contain "Host" header of format "host:port". 3) Port number in the example should be configurable.