added support for cors parameters
5 files changed