Skip to content

Conversation

@nessita
Copy link
Contributor

@nessita nessita commented Jun 9, 2025

Despite undocumented and internal, the "q" key was removed from the MediaType.params while fixing Refs #36411.

Thanks Anders Kaseorg for the report.

Regression in c075508.

Trac ticket number

ticket-36446

Branch description

Restore original params and add a new range_params following this previous PR conversation.

I chose a slightly different name for the new property: range_params. I think this name matches better the spec, and also "MediaType.type_params" felt a bit redundant.

@nessita
Copy link
Contributor Author

nessita commented Jun 9, 2025

@andersk @RealOrangeOne what do you think about this solution?

The "q" key was removed while addressing ticket #36411. Despite
`MediaType.params` is undocumented and considered internal, it was used
in third-party projects (Zulip reported breakage), so this work restored
the `q` key in `params`.

Thanks Anders Kaseorg for the report.

Regression in c075508.
@nessita nessita merged commit cf5f36b into django:main Jun 9, 2025
32 checks passed
@nessita nessita deleted the ticket-36446 branch June 9, 2025 20:38
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.

2 participants