[
https://issues.apache.org/jira/browse/HADOOP-16613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jose Torres updated HADOOP-16613:
---------------------------------
Description: S3AFileSystem doesn't set a contentType for fake directory
files, causing it to be inferred as "application/octet-stream". But fake
directory files created through the S3 web console have content type
"application/x-directory". We may want to adopt the web console behavior as a
standard, since some systems will rely on content type and not size + trailing
slash to determine if an object represents a directory. (was: S3AFileSystem
doesn't set a contentType for fake directory files, causing it to be inferred
as "application/octet-stream", but fake directory files created through the S3
web console have content type "application/x-directory". We may want to adopt
the web console behavior as a standard.)
> contentType for fake directory files
> ------------------------------------
>
> Key: HADOOP-16613
> URL: https://issues.apache.org/jira/browse/HADOOP-16613
> Project: Hadoop Common
> Issue Type: Bug
> Components: hadoop-aws
> Reporter: Jose Torres
> Priority: Major
>
> S3AFileSystem doesn't set a contentType for fake directory files, causing it
> to be inferred as "application/octet-stream". But fake directory files
> created through the S3 web console have content type
> "application/x-directory". We may want to adopt the web console behavior as a
> standard, since some systems will rely on content type and not size +
> trailing slash to determine if an object represents a directory.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]