Adding accept header to cors requests