Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Text files returning application/octet-stream #16

Open
BBaoVanC opened this issue Nov 6, 2022 · 1 comment
Open

Text files returning application/octet-stream #16

BBaoVanC opened this issue Nov 6, 2022 · 1 comment

Comments

@BBaoVanC
Copy link

BBaoVanC commented Nov 6, 2022

Some of my text files are being guessed as octet-stream. I can't really tell what's causing it, I'm hoping someone else knows how I can debug this.

@mbrubeck
Copy link
Owner

One possibility is that the file contains an ASCII "nul" (zero) byte.

If anyone can share a reproducible test case, that would help debug the issue.

(P.S. Sorry for missing this report previously.)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants