We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I am using Rubyzip to edit .docx files, and I realized that the file's Mime Type gets updated every time I open it.
.docx
Before:
$ file -I my_file.docx my_file.docx: application/vnd.openxmlformats-officedocument.wordprocessingml.document; charset=binary
After:
Zip::File.open 'my_file.docx' do |zip| # Even without doing anything. end
$ file -I my_file.docx my_file.docx: application/octet-stream; charset=binary
Would there be any way to specify the mime type of the original file, or just keep it as it was?
The text was updated successfully, but these errors were encountered:
Which version of rubyzip are you using?
Sorry, something went wrong.
The last one 2.3.2
2.3.2
I can't reproduce this with 2.3.2 or HEAD. I am using Linux, which OS are you using?
HEAD
hainesr
No branches or pull requests
Hi,
I am using Rubyzip to edit
.docx
files, and I realized that the file's Mime Type gets updated every time I open it.Before:
$ file -I my_file.docx my_file.docx: application/vnd.openxmlformats-officedocument.wordprocessingml.document; charset=binary
After:
$ file -I my_file.docx my_file.docx: application/octet-stream; charset=binary
Would there be any way to specify the mime type of the original file, or just keep it as it was?
The text was updated successfully, but these errors were encountered: