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 middleware option to enable custom configuration #267

Merged

Conversation

vincentsarago
Copy link
Member

@vincentsarago vincentsarago commented Sep 17, 2021

Related Issue(s): #265

Description:
This PR adds a middlewares option in stac_fastapi.api.app.StacApi. The middlewares value will defaults to [BrotliMiddleware] for compatibility with previous version

PR Checklist:

  • Code is formatted and linted (run pre-commit run --all-files)
  • Tests pass (run make test)
  • Documentation has been updated to reflect changes, if applicable, and docs build successfully (run make docs)
  • Changes are added to the CHANGELOG.

@vincentsarago vincentsarago requested review from geospatial-jeff and lossyrob and removed request for geospatial-jeff September 20, 2021 09:01
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