oduwsdl / MemGator

A Memento Aggregator CLI and Server in Go
https://memgator.cs.odu.edu/api.html
MIT License
55 stars 11 forks source link

Add proxy for closest Memento with CORS headers #91

Closed ibnesayeed closed 7 years ago

ibnesayeed commented 7 years ago

Upstream archives may not add CORS headers in individual Memento responses. Redirecting to such URI-Ms may limit the ability of certain clients to read the response due to same-origin policy. MemGator can have an endpoint that behaves as a proxy instead of redirecting and adds necessary CORS headers.