internap / python-mockserver-friendly-client

Friendly python client to James D. Bloom's awesome MockServer
Apache License 2.0
14 stars 12 forks source link

Disable CORS does not work #17

Closed vadym-kovryzhkin closed 5 years ago

vadym-kovryzhkin commented 6 years ago

I am running mock-server with java:

java -DenableCORSForAPI=false -jar "mockserver-netty-5.3.0-jar-with-dependencies.jar" -serverPort 1080 -proxyPort 1090

But always see the X-CORS header, along with the default headers that are added when CORS is switched on, and all of my headers specified in the expectation are missing. X-CORS: MockServer CORS support enabled by default, to disable ConfigurationProperties.enableCORSForAPI(false) or -Dmockserver.disableCORS=false

lindycoder commented 5 years ago

This does not seem to be related to the python client but rather the server tool, please report to https://github.com/jamesdbloom/mockserver