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 a correct content type to POST requests and SearchFilters adjustments #359

Merged
merged 5 commits into from
Jul 6, 2021

Conversation

pomadchin
Copy link
Collaborator

@pomadchin pomadchin commented Jul 1, 2021

Overview

This PR sets content type to all client post requests as well as adjusts SearchFilters (make all fields optional + drop nulls in requests) case class to make client more compatible with different STAC API Implementations.

Checklist

  • Changelog updated (please use chan)

@pomadchin pomadchin changed the title Add a correct content type to POST queries Add a correct content type to POST requests Jul 1, 2021
@pomadchin pomadchin force-pushed the fix/client-media-type branch 2 times, most recently from 497a6bd to 9247181 Compare July 1, 2021 20:47
@pomadchin pomadchin changed the title Add a correct content type to POST requests Add a correct content type to POST requests and SearchFilters adjustments Jul 1, 2021
@pomadchin pomadchin force-pushed the fix/client-media-type branch 2 times, most recently from 3cedcb5 to 1786ab2 Compare July 1, 2021 22:32
@pomadchin pomadchin requested a review from jisantuc July 6, 2021 15:55
Copy link
Contributor

@jisantuc jisantuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-approved 🚀

@pomadchin pomadchin merged commit 5e6a7ab into stac-utils:master Jul 6, 2021
@pomadchin pomadchin deleted the fix/client-media-type branch July 6, 2021 16:46
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.

2 participants