Skip to content

properly ignore deprecated headers field to work with prowlarr - #11

Merged
unseensnick merged 2 commits into
unseensnick:mainfrom
stek29:patch-1
Sep 11, 2026
Merged

properly ignore deprecated headers field to work with prowlarr#11
unseensnick merged 2 commits into
unseensnick:mainfrom
stek29:patch-1

Conversation

@stek29

@stek29 stek29 commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

No description provided.

stek29 and others added 2 commits September 11, 2026 19:25
Prowlarr's form POST sends the deprecated headers field as an object, and
1.6.0 refused it because the field is annotated as a list. FlareSolverr v1
declared it as a header map, v2 dropped it, and upstream only warns when it
arrives, so no client has a reason to send a list.

- Form POSTs from Prowlarr are no longer refused before a solve starts
- The field stays unread, so exempting it lets nothing new reach an engine
- The class annotation is left as upstream wrote it, so dtos.py still syncs
Adds the regression test for the headers fix, using the shape Prowlarr's
form POST sends, and the CHANGELOG entry for it. The test fails with the
exemption removed.
@unseensnick
unseensnick merged commit 6f4642f into unseensnick:main Sep 11, 2026
1 check passed
@unseensnick

Copy link
Copy Markdown
Owner

Thanks for this, and for tracking down the shape Prowlarr's form POST sends. Merged with your commit kept under your name. Two things changed on the way in: I reworded the commit message to the repo's type(scope): summary format, which the Standards check requires, and left the code as you wrote it. A regression test and a CHANGELOG entry went in as a separate commit. It will ship in the next release.

@majidamomajidam

Copy link
Copy Markdown

I life it

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