• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NOUIY / thumbor / 31001653605
89%

Build:
DEFAULT BRANCH: master
Ran 05 Aug 2026 12:06PM UTC
Jobs 5
Files 103
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Aug 2026 08:44AM UTC coverage: 88.933% (+0.009%) from 88.924%
31001653605

push

github

scorphus
feat: parse the Accept header instead of searching substrings

RequestParameters now parses the Accept header into media ranges with
quality values, handling quoted parameters, whitespace and case. It
exposes accepts_avif, accepts_heif, accepts_png and accepts_jpeg next
to the existing accepts_webp, and accepts_mime_type answers from the
parsed values.

Three behavior changes, all on purpose:

- A format listed with q=0 is rejected. Before, image/webp;q=0 still
  counted as accepting WebP because only the substring was checked.
- image/* accepts every image format. Before it matched nothing.
- */* keeps its old meaning: it only enables JPEG, never the other
  formats, so existing AUTO_WEBP deployments keep the same behavior.

New keyword arguments were appended after the existing ones, so callers
that pass positional arguments keep working. Handlers that build their
own request objects keep the old substring lookup.

Co-authored-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>

74 of 83 new or added lines in 2 files covered. (89.16%)

4010 of 4509 relevant lines covered (88.93%)

4.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
95.81
-4.19% thumbor/context.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.12 - 31001653605.1 05 Aug 2026 12:47PM UTC 103
88.93
GitHub Action Run
2 run-3.14 - 31001653605.2 05 Aug 2026 12:46PM UTC 103
88.93
GitHub Action Run
3 run-3.10 - 31001653605.3 05 Aug 2026 12:06PM UTC 103
88.93
GitHub Action Run
4 run-3.13 - 31001653605.4 05 Aug 2026 12:47PM UTC 103
88.93
GitHub Action Run
5 run-3.11 - 31001653605.5 05 Aug 2026 12:46PM UTC 103
88.93
GitHub Action Run
Source Files on build 31001653605
  • Tree
  • List 103
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31001653605
  • a8874056 on github
  • Prev Build on master (#30960151342)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc