Change folder mime type to application/vnc.swift.directory

Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
This commit is contained in:
Sylvain Baubeau 2015-06-30 14:21:03 +02:00
parent 33028c11a7
commit 2846913552
2 changed files with 2 additions and 5 deletions

View file

@ -25,8 +25,4 @@ func main() {
if err != nil { if err != nil {
panic(err) panic(err)
} }
if err := ipc.StorageDriverServer(driver); err != nil {
logrus.Fatalln(err)
}
} }

View file

@ -49,7 +49,8 @@ const defaultChunkSize = 20 * 1024 * 1024
// minChunkSize defines the minimum size of a segment // minChunkSize defines the minimum size of a segment
const minChunkSize = 1 << 20 const minChunkSize = 1 << 20
const directoryMimeType = "application/directory" // Vendor MIME type used for objects that act as directories
const directoryMimeType = "application/vnd.swift.directory"
//DriverParameters A struct that encapsulates all of the driver parameters after all values have been set //DriverParameters A struct that encapsulates all of the driver parameters after all values have been set
type DriverParameters struct { type DriverParameters struct {