Closed SecurityForUs closed 11 years ago
Good catch! I reviewed the merge and it appears that the appropriate mime-type is used when creating directories, just not in the is_dir() function. If you could fix the doc block along with it, I will merge this ASAP.
Per your request I fixed the doc page and I also modified the comment block in the function as well.
Perfect thanks! Wanted to be sure you got credit for the whole fix.
Per OpenStack documents here: http://docs.openstack.org/trunk/openstack-object-storage/developer/content/pseudo-hierarchical-folders-directories.html
I left in the original MIME type for backwards-compatibility, but "application/directory" is the standard, and it's also how it's shown via the OpenStorage control panel.