Added CORS support for other request types.