-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor endpoints for GETing a dataset/narrative to make room for ad…
…ditional media types Only sends Auspice's entrypoint for text/html-accepting clients (i.e. all browsers) and moves existence check into the endpoint itself. Other media types won't need the existence check as they don't need to prevent Auspice from hitting a 404 when it tries to load the dataset/narrative.
- Loading branch information
Showing
2 changed files
with
28 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters