Comments (2)
I too have an issue with this... Has anyone looked into why the content type gets munged?
from cloudfuse.
Cloudfuse doesn't set a content-type, so swift (/cloud files) should just choose one based on the file's extension. If you can run cloudfuse with the -d flag and share some of the output, it might help figure out what's going on. Here are the headers from a test I just did, where it gets set correctly:
PUT /v1/MossoCloudFS_8ef18146-7dd3-46ea-9d61-b07a511b0c81/test/somefile.css HTTP/1.1
User-Agent: CloudFuse
Host: storage101.ord1.clouddrive.com
Accept: */*
X-Auth-Token: a6264b3d7fa74b61a8dd46d72acfa66a
Content-Length: 0
Expect: 100-continue
GET /v1/MossoCloudFS_8ef18146-7dd3-46ea-9d61-b07a511b0c81/test/somefile.css HTTP/1.1
User-Agent: CloudFuse
Host: storage101.ord1.clouddrive.com
Accept: */*
X-Auth-Token: a6264b3d7fa74b61a8dd46d72acfa66a
< HTTP/1.1 200 OK
< Content-Length: 0
< Accept-Ranges: bytes
< Last-Modified: Tue, 21 Jan 2014 22:11:53 GMT
< Etag: d41d8cd98f00b204e9800998ecf8427e
< X-Timestamp: 1390342313.42697
< Content-Type: text/css
< X-Trans-Id: txd62ba63d6c7740719dcd9-0052def0c4ord1
< Date: Tue, 21 Jan 2014 22:12:20 GMT
from cloudfuse.
Related Issues (20)
- Appending to files is broken HOT 6
- Attempting to touch (update access/modification time) wipes file contents in object store HOT 3
- Segments? HOT 2
- omitting directory ‘cloudfuse’
- Configurable settings_filename
- When mounted at cloudfuse, authority can not be granted.
- mmap fails when using MAP_SHARED option
- Expecting to find application/json in Content-Type header HOT 21
- Cloudfuse only shows 8T of space available
- Problem compiling (make) cloud fuse HOT 3
- XML parser error : Extra content at the end of the document on fresh Debian 8 Rackspace Server HOT 1
- CloudFuse Error HOT 2
- Typo in cloudfsapi.h
- json-c-devel is needed (README)
- over 5k directories create / show list limitation? HOT 1
- Failed to authenticate.
- cloudfuse -h and -V return 1
- Error running on Ubuntu server 17.10 HOT 2
- i use openstack keystone v3
- can it support suse Linux?
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 cloudfuse.