As mentioned in https://github.com/spatie/laravel-cors/issues/60, it appears that returning a 204 No Content response with content indeed causes odd behaviour in some clients. This PR fixes that by removing the 'Preflight OK' text, so it follows the specs.
As mentioned in https://github.com/spatie/laravel-cors/issues/60, it appears that returning a
204 No Content
response with content indeed causes odd behaviour in some clients. This PR fixes that by removing the 'Preflight OK' text, so it follows the specs.Related info: https://github.com/httpwg/http-core/issues/26 https://github.com/postmanlabs/postman-app-support/issues/2418