internetarchive / internetarchive/dweb-gateway

Cors issues on crossref if calling from browser

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
20
Forks
5
PR merge metrics
No merged PRs in 30d

Description

I'm trying to move metadata pulling to the browser, and have code that works, however in the cases of publishers that doi redirects to crossref, crossref doesnt set the Cross-Origin info, so the browser complains.
I'm not sure how to fix it, really it should be for crossref to fix, but that sounds inlikely, so for now will pull metadata from server.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. First reproduce the Crossref redirect request in a browser and inspect its CORS response; done would require a confirmed browser-compatible metadata path or a documented server-side fallback.

Written by the indexing model from the issue text.

Assessment

Domain
web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.