Pre-flight OPTIONS request failing over HTTPS
问题 A CORS POST request (AJAX) made by my client server (running on Apache @ port 443) to my REST server (running on Tomcat @ port 8443), fails to trigger when tried over HTTPS. Please note that all the requests function properly without SSL. I have already set the withCredentials: true options in the request fields. And my Tomcat server also takes care of the appropriate headers : response.addHeader("Access-Control-Allow-Origin", "https://localhost"); response.addHeader("Access-Control-Allow