Skip to content

Fix zero division errors for accept headers with zero q value - #2491

Merged
tomkralidis merged 1 commit into
masterfrom
2490-every-request-with-an-accept-header-that-has-q0-fails-with-a-500-error
Nov 22, 2026
Merged

tomkralidis merged 1 commit into
masterfrom
2490-every-request-with-an-accept-header-that-has-q0-fails-with-a-500-error

Conversation

@francbartoli

Copy link
Copy Markdown
Contributor

Overview

Related Issue / discussion

#2490

Additional information

Dependency policy (RFC2)

  • I have ensured that this PR meets RFC2 requirements

Updates to public demo

Contributions and licensing

(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)

  • I'd like to contribute [feature X|bugfix Y|docs|something else] to pygeoapi. I confirm that my contributions to pygeoapi will be compatible with the pygeoapi license guidelines at the time of contribution
  • I have already previously agreed to the pygeoapi Contributions and Licensing Guidelines

@francbartoli francbartoli self-assigned this Nov 22, 2026
@github-actions github-actions Bot added the Human generated Label for the detect-ai workflow classifier label Nov 22, 2026
@tomkralidis tomkralidis added this to the 0.25.0 milestone Nov 22, 2026
@francbartoli
francbartoli force-pushed the 2490-every-request-with-an-accept-header-that-has-q0-fails-with-a-500-error branch from da175a9 to 99e1f83 Compare November 22, 2026 16:35
@tomkralidis
tomkralidis merged commit 1158844 into master Nov 22, 2026
11 checks passed
@tomkralidis
tomkralidis deleted the 2490-every-request-with-an-accept-header-that-has-q0-fails-with-a-500-error branch November 22, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Human generated Label for the detect-ai workflow classifier

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Every request with an Accept header that has q=0 fails with a 500 error

2 participants