-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Allow CORS for objects.inv
, or expose inventory in API?
#8769
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
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
We did change some CORS policies lately, but it seems this is still an issue. |
I'm reopening it because we changed our logic to only add CORS headers on |
We allow cross site requests for all documentation content now. See https://docs.readthedocs.io/en/stable/security-implications.html#cross-origin-requests. |
I was playing with a proof of concept of a browser-based intersphinx viewer, but requests to
GET objects.inv
get blocked because of CORS.I wonder if CORS access could be allowed for such files?
Alternatively, since the various APIs have CORS headers in place, I wonder if it would be possible to add an endpoint that would list the inventory of a project as a byte stream?
The text was updated successfully, but these errors were encountered: