-
Notifications
You must be signed in to change notification settings - Fork 29
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
Filetype of upload #2
Comments
I have committed a fix for this. It now uses the magicmime library to automatically detect the content-type of the file when it's uploaded. You can grab the fix now from master, or it will be in the next release (coming soon), along with some other new features. |
Thanks, but I cannot build the update. Any tips would be welcome. NB I am a Go novice $ go get github.com/rakyll/magicmime../github.com/rakyll/magicmime/magicmime.go:28:11: fatal error: 'magic.h' file not found
|
magicmime depends on libmagic. It's in the |
Thanks, the build now works for me on OSX. I used home-brew: $ brew install libmagic
|
This is fixed in 0.2.0 release. Enjoy! |
Thank you. It’s working beautifully for me.
|
This is great. Is there an 0.2.0 release for osx? I'm having this issue but don't see a way to upgrade. Thanks! |
I find that git-s3-push works well except that my html, css and js files are given the filetype binary/octet-stream. This means that I have to instruct AWS to change the filetype so that my website can be served properly :-(
The text was updated successfully, but these errors were encountered: