yangljun / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

content-type metadata #410

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to know if it possible to set the content-type metadata using s3fs 
mount options.

I'm using ahbe conf to set some Content-Encoding, but we are having problems 
using javascripts with accented vowels.

I'm adding manualy the "charse=utf-8" to the content-type metadata in the 
javascripts we had issues, but it would be nice to do it automatically.

Version of s3fs being used (s3fs --version): 1.74

Version of fuse being used (pkg-config --modversion fuse): 2.9.3

System information (uname -a): Linux "hostname" 3.4.66-55.43.amzn1.x86_64 #1 
SMP Wed Oct 16 06:26:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Distro (cat /etc/issue): Amazon Linux AMI release 2013.09

/etc/fstab entry (if applicable): s3fs#"bucket_name" /export/s3/lib fuse 
_netdev,use_cache=/tmp,use_rrs=1,default_acl=public-read,ahbe_conf=/etc/s3fs/ahb
e.conf,allow_other,uid=222,gid=500 0 0

Original issue reported on code.google.com by luizflaviorojo on 5 Feb 2014 at 3:20

GoogleCodeExporter commented 9 years ago
Hi,

I'm sorry for slow replying

I think that you can specify content-type by ahbe_conf option and ahbe_conf 
file.
You can see the sample configuration file in test directory.
Please try to use it.

* Now this s3fs codes are moved on Github, there is latest version on it. 
please use latest version.
  (https://github.com/s3fs-fuse/s3fs-fuse)

Thanks in advance for your help.

Original comment by ggta...@gmail.com on 12 May 2014 at 1:59