stac-utils / stac-utils/stac-fastapi

Detect disabled extensions in requests

Open
#680 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
324
Forks
126
Avg merge
1d 22h
Merged PRs (30d)
10

Description

An extension can be disabled, and this is reflected in the conformsTo section. However, if a client utilizes the syntax of a disabled extension (e.g., query) in a request, it would be helpful to have a mechanism on the server side to detect this and raise an exception. Currently, it merely ignores such requests, leaving the client unaware of why the results do not match the submitted query.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by tracing request handling and how disabled extensions are represented in conformsTo, then reproduce a request using syntax from a disabled extension such as query. Done means the server detects the unsupported syntax and raises an informative exception instead of silently ignoring it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.