Added accept support in cors