directory-sync
Advanced tools
Comparing version 2.0.8 to 2.0.9
{ | ||
"name": "directory-sync", | ||
"version": "2.0.8", | ||
"version": "2.0.9", | ||
"description": "Easily synchronize directories between two machines over the internet.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -188,4 +188,6 @@ import Path from 'path'; | ||
descriptor = 'UPLOAD'; | ||
request.headers['md5-hash'] = record.stats.md5; | ||
operation = record.stats.size > 0 ? manager.read(uri, true) : ''; | ||
// Include the MD5 hash of the record's content if it exists so client can verify | ||
response.header('md5-hash', record.stats.md5); | ||
break; | ||
@@ -192,0 +194,0 @@ case 'PUT': |
80548
1763