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

CORS violation when not using proxy #530

Closed
kmcginnes opened this issue Aug 1, 2024 · 0 comments · Fixed by #529
Closed

CORS violation when not using proxy #530

kmcginnes opened this issue Aug 1, 2024 · 0 comments · Fixed by #529
Assignees
Labels
bug Something isn't working database support Issues related to adding or changing the databases servers or languages supported
Milestone

Comments

@kmcginnes
Copy link
Collaborator

Some public endpoints can not be queried due to CORS issues.

For example:

https://id.nlm.nih.gov/mesh

Image

Problem

We add the queryId to requests in the header so that the proxy server can cancel the request if needed. But some public endpoints don't recognize that custom header and will reject the request.

We only need the queryId when using the proxy server.

@kmcginnes kmcginnes self-assigned this Aug 1, 2024
@kmcginnes kmcginnes added bug Something isn't working database support Issues related to adding or changing the databases servers or languages supported labels Aug 1, 2024
@kmcginnes kmcginnes added this to the Release 1.9.0 milestone Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working database support Issues related to adding or changing the databases servers or languages supported
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant