Skip to content
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

add type=application/geo+json to prev and next links #266

Merged

Conversation

philvarner
Copy link
Collaborator

Related Issue(s): #256

Proposed Changes:

  1. add type=application/geo+json to prev and next link relations

PR Checklist:

  • This PR is made against the dev branch (all proposed changes except releases should be against dev, not master).
  • This PR has no breaking changes.
  • This PR does not make any changes to the core spec in the stac-spec directory (these are included as a subtree and should be updated directly in radiantearth/stac-spec)
  • I have added my changes to the CHANGELOG or a CHANGELOG entry is not required.

@philvarner philvarner requested review from m-mohr and cholmes February 28, 2022 14:27
@m-mohr
Copy link
Collaborator

m-mohr commented Feb 28, 2022

Just realized a day ago, but is it in a conflict that the type is geo+json instead of just JSON and errors being given as plain json?

@philvarner
Copy link
Collaborator Author

It's not a conflict. This is more just an advertisement that (1) if you sent an Accept header with this value (or no Accept header) it will respond with a 200 and that type as the body. Any non-200 response isn't expected to return the same type.

@philvarner philvarner merged commit a06becf into radiantearth:dev Mar 3, 2022
@philvarner philvarner deleted the next-prev-link-relations-geojson branch March 3, 2022 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants