Comments (4)
Hello,
From a filesystem point of view, you obviously don't have this information, but there's apparently an undocumented feature for this in the Swift API: using X-Detect-Content-Type
when uploading a file should force detection of content-type based on file extension (and only from that) from the swift object server.
I need to test this.
from svfs.
Nice : X-Detect-Content-Type
. It's better than Content-type
. But you have to apply on each object or just on the container storage?
from svfs.
You need to set it on objects.
from svfs.
Content-Type
detection is now activated by default, you can pull 6d1ecb2 if you want to use it immediately.
It will be available in the next release and apply to new uploaded files only.
from svfs.
Related Issues (20)
- Unable to create a .tar archive bigger than 256MB HOT 8
- Suggestion: docker volume plugin HOT 1
- SVFS open flags
- gpg says iobuf_write failed HOT 1
- installation on ubuntu 10.04 won't work HOT 2
- As vmail?
- Windows server 2012 R2 samba copied files 0kb in size HOT 2
- File ownership in rpm
- Cannot mount a pcs container and a Hubic account on the same host (Linux) HOT 1
- svfs & borg
- unable to rsync
- svfs encryption: what happened exactly? HOT 1
- May I ask if I can control dangerous instructions? HOT 1
- Is svfs still supported by OVH ? HOT 6
- installation svfs-0.9.1-1.x86_64 HOT 1
- not synchronize in any way
- Inodes disk are always full
- OVH: Deletion of endpoints for Object Storage and Cloud Archive HOT 2
- Keystone API v2 deprecated, v3 doesn't work HOT 3
- Lookup error=ENOENT
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svfs.