Skip to content

#23 - Send valid CORS preflight request to check Access-Control-Request-Method header#31

Open
louisaxel-ambroise wants to merge 1 commit into
gs1:masterfrom
louisaxel-ambroise:bugfix/#23-send-valid-cors-preflight-request
Open

#23 - Send valid CORS preflight request to check Access-Control-Request-Method header#31
louisaxel-ambroise wants to merge 1 commit into
gs1:masterfrom
louisaxel-ambroise:bugfix/#23-send-valid-cors-preflight-request

Conversation

@louisaxel-ambroise
Copy link
Copy Markdown

Fixes the 1st issue raised in #23

The Access-Control-Request-Method header must only be returned in the preflight (HTTP verb OPTIONS) request.

This change adds a new test value/method in the tester.php file and updates the methodsCheck test in JSON to send a valid preflight request and check the existance of the header values from its response.

…quest-Method header

Fixes the 1st issue raised in gs1#23

The Access-Control-Request-Method header must only be returned in the preflight (HTTP verb OPTIONS) request.

This change adds a new test value/method in the tester.php file and updates the methodsCheck test in JSON to send a valid preflight request and check the existance of the header values from its response.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant