Changed files meta parameter name from SoftwareVersion to version. All other meta parameters now start with a lower case character too.
This commit is contained in:
1 parent
291efc0097
commit
589d8899cc
2 files changed
+5
-5
No files matched your search
+4
-4
@@ -256,10 +256,10 @@ else
|
||||
filename = querystring.unescape(FILES_REGEX.exec(urlParts.pathname)[1])
|
||||
if request.method == 'PUT'
|
||||
metadata = {
|
||||
FileType : request.headers.filetype,
|
||||
Manufacturer : request.headers.manufacturer,
|
||||
ProductClass : request.headers.productclass,
|
||||
SoftwareVersion : request.headers.softwareversion,
|
||||
fileType : request.headers.filetype,
|
||||
manufacturer : request.headers.manufacturer,
|
||||
productClass : request.headers.productclass,
|
||||
version : request.headers.version,
|
||||
}
|
||||
|
||||
gs = new mongodb.GridStore(db.mongoDb, filename, 'w', {metadata : metadata})
|
||||
|
||||
Reference in new issue
Block a user