Skip to content

Fix cors preflight for paths with path params #360

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

Merged
merged 2 commits into from
Apr 21, 2021

Conversation

gzuidhof
Copy link
Contributor

Fixes #359

Copy link
Member

@kevin-bates kevin-bates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gzuidhof - this is a great catch!

Since it appears the options() method ultimately derives from tornado.web.RequestHandler (when not used via the mixin) and that method signature also includes an arguments list *args, I think we should probably include that as well. Do you mind adding that in?

@gzuidhof
Copy link
Contributor Author

Done!

Copy link
Member

@kevin-bates kevin-bates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Guido!

@kevin-bates kevin-bates merged commit 7061200 into jupyter-server:master Apr 21, 2021
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.

CORS preflight OPTIONS request fails for kernel interruptions
2 participants