Skip to content

fix: make Content-Disposition header RFC 2183 compliant#1

Open
junagent wants to merge 3 commits intomasterfrom
fix-bounty-8914
Open

fix: make Content-Disposition header RFC 2183 compliant#1
junagent wants to merge 3 commits intomasterfrom
fix-bounty-8914

Conversation

@junagent
Copy link
Owner

Fixes Comfy-Org#8914

This PR updates the Content-Disposition header in server.py to include the attachment; disposition type, ensuring compliance with RFC 2183. This resolves filename parsing issues in third-party clients (like Go's mime.ParseMediaType).

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.

"Content-Disposition" Header set in view_image function not matching RFC2183 rules

2 participants