Skip to content

fix: Add corner case of a tripartite content type#147

Open
Zzull wants to merge 1 commit intometosin:masterfrom
Zzull:master
Open

fix: Add corner case of a tripartite content type#147
Zzull wants to merge 1 commit intometosin:masterfrom
Zzull:master

Conversation

@Zzull
Copy link
Copy Markdown

@Zzull Zzull commented Apr 22, 2026

The Ring-Mock library (to create Ring request map for testing purposes) sets a tripartite content type on multipart parameters that would raise a "Can't negotiate on request charset" exception.

The Ring-Mock library (to create Ring request map for testing
purposes) sets a tripartite content type on multipart parameters that
would raise a "Can't negotiate on request charset" exception.
@Deraen
Copy link
Copy Markdown
Member

Deraen commented Apr 23, 2026

Interesting that we haven't caught this before!

I'll want to check the HTTP spec if there is anything about the order of the parameters, or if we should prepare to support cases where another parameter comes before the charset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🐰 Important

Development

Successfully merging this pull request may close these issues.

3 participants