Skip to content

Conversation

@danielfdsilva
Copy link
Member

@danielfdsilva danielfdsilva commented Jul 3, 2025

Addresses an issue where the API server rejects GET requests containing a 'Content-Type: application/json' header.

This is a temporary workaround to ensure compatibility with the current stac-react implementation and the API server's requirements. Once stac-react is updated to handle headers correctly, this workaround will be removed.

Related to

Addresses an issue where the API server rejects GET requests
containing a 'Content-Type: application/json' header.

This is a temporary workaround to ensure compatibility with the
current stac-react implementation and the API server's
requirements.  Once stac-react is updated to handle headers
correctly, this workaround will be removed.
Copy link
Member

@j08lue j08lue left a comment

Choose a reason for hiding this comment

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

Not sure it was only GET requests where the header was causing trouble? But very curious to find out this way. Thanks for the hack.

@pantierra pantierra merged commit a72189f into main Jul 4, 2025
4 checks passed
@pantierra pantierra deleted the fixes/auth branch July 4, 2025 07:57
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.

4 participants