Skip to content

Conversation

@jdkent
Copy link
Member

@jdkent jdkent commented Sep 17, 2025

closes #921

neurostore was already refactored, now I want to do the same for compose.

Comment on lines +43 to +49
("auth_client", "get", "/api/specifications?page_size=1", 200),
("cors_test_client", "get", "/__test/cors/204", 204),
("cors_test_client", "get", "/__test/cors/400", 400),
("anonymous_client", "post", "/api/annotations", 401),
("cors_test_client", "get", "/__test/cors/404", 404),
("cors_test_client", "get", "/__test/cors/420", 420),
("cors_test_client", "get", "/__test/cors/500", 500),
Copy link
Member Author

Choose a reason for hiding this comment

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

testing these different clients is a bit odd, but it does make sure that CORS headers are added in different contexts.

Copy link
Member Author

@jdkent jdkent left a comment

Choose a reason for hiding this comment

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

LGTM!

@jdkent jdkent merged commit 78fcde5 into master Sep 17, 2025
16 checks passed
@jdkent jdkent deleted the ref/error_handling_compose branch September 17, 2025 14:36
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.

Refactor Error Handling

2 participants