stac-utils / stac-utils/stac-fastapi
Allowing to fix the request base URL
Open
Nobody has claimed this yet.
- #582 by @constantinius — closed without merging
- Dominant language
- Python
- Stars
- 324
- Forks
- 126
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 10
Description
The base URL in links is built using the Starlette Request base_url property. But this value can be misleading, especially when the app is used behind a proxy.
It would help if the base URL can be configured somehow.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing where the Starlette Request base_url property is used to build links, and review closed pull request #582 for prior context. Define how the base URL should be configured and verify that generated links use the configured value, including when the app runs behind a proxy.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fastapi, python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100