Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed ServerCORSTests #4239

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Fixed ServerCORSTests #4239

wants to merge 2 commits into from

Conversation

sergiuszkierat
Copy link
Member

No description provided.

@sergiuszkierat
Copy link
Member Author

Those tests should fail for Vert.x server as the bug says

@sergiuszkierat
Copy link
Member Author

It turned out that ServerCORSTests which is widely used by AllServerTests had a bug. We registered OPTIONS endpoints and afterwards we were verifying a preflight request with Access-Control-Request-Method POST header against them. I've replace them by POST endpoint as we should expect that registered endpoint is POST as well.

Some of tests have failed, so my guess is that we should check if OPTIONS routing is active and able to handle preflight requests.

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