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 an all-or-nothing mode #73

Open machawk1 opened 8 years ago

machawk1 commented 8 years ago

There are times when, if one archive fails to respond to memgator, I don't want a response from a client querying for results from memgator. This would be different from an archive responding with a 404 or zero mementos. From the client's perspective, I want either the mementos aggregated from all archives configured or some other indicator that this aggregation was not accomplished, either through some addition HTTP response header, HTTP response code, or some indicator in the body.