Skip to content

fix: relaxed Content-Type checks for CLI download#189

Merged
fioan89 merged 1 commit into
mainfrom
fix-support-winddows-binary-mime-types
Sep 3, 2025
Merged

fix: relaxed Content-Type checks for CLI download#189
fioan89 merged 1 commit into
mainfrom
fix-support-winddows-binary-mime-types

Conversation

@fioan89

@fioan89 fioan89 commented Sep 2, 2025

Copy link
Copy Markdown
Collaborator

This PR fixes download failure for Windows .exe binaries by relaxing strict Content-Type checks. Previously, the plugin only accepted application/octet-stream, causing failures when .exe files were served as application/x-msdos-executable by some servers.

This PR fixes download failure for Windows .exe binaries by relaxing strict Content-Type checks.
Previously, the plugin only accepted application/octet-stream, causing failures when .exe files
were served as application/x-msdos-executable by some servers.

- resolves #187

@code-asher code-asher left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow who knew there were so many lol

@matifali matifali left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for quickly fixing this. Good catch.

@fioan89 fioan89 merged commit c2d658b into main Sep 3, 2025
6 checks passed
@fioan89 fioan89 deleted the fix-support-winddows-binary-mime-types branch September 3, 2025 15:31
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.

Invalid content type 'application/x-ms-dos-executable'

4 participants