DefNet 2.0
NEW: http_server now has support for Access-Control-Allow-Origin response header. The default value is Access-Control-Allow-Origin: *
. The value is controlled via the public variable access_control on the http server instance. Set it to nil to disable the response header.
BREAKING CHANGE: http_server.html(), http_server.json() and http_server.file() response creator functions have been moved to the http server instance to allow creation of a response with all headers set properly