Skip to content
New issue

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

Directories should appear as something other than application/octet-stream #135

Closed
watzon opened this issue Oct 29, 2015 · 1 comment
Closed

Comments

@watzon
Copy link

watzon commented Oct 29, 2015

There is a depreciated definition for a mime type of text/directory which could be used if there aren't any other ideas. I feel like it would be a good idea to have something other than application/octet-stream since there will be times when a user want's to differentiate between a directory and a binary file.

@broofa
Copy link
Owner

broofa commented Jun 15, 2017

Doing a bit of issue housekeeping. This module doesn't do filesystem stat'ing (and won't anytime soon), so no way to know if a path is a directory or not. But, agreed that application/octet-stream probably shouldn't be the default. See #139.

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

No branches or pull requests

2 participants