Skip to content

DefNet 2.0

Compare
Choose a tag to compare
@britzl britzl released this 21 Feb 12:46
· 61 commits to master since this release

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