From f0c4323dea7444ec6c81ffcbe7ce3a5bffa4b6cd Mon Sep 17 00:00:00 2001 From: "Sebastian.Just" Date: Fri, 5 Sep 2014 09:15:33 -0400 Subject: [PATCH 1/3] Avoid content diposition --- lib/uploadhandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/uploadhandler.js b/lib/uploadhandler.js index 3233e86..7bac7c0 100644 --- a/lib/uploadhandler.js +++ b/lib/uploadhandler.js @@ -27,7 +27,7 @@ module.exports = function (options) { this.res.set({ 'Pragma': 'no-cache', 'Cache-Control': 'no-store, no-cache, must-revalidate', - 'Content-Disposition': 'inline; filename="files.json"' + // 'Content-Disposition': 'inline; filename="files.json"' }); }; From 67520a21cddc5b3581ec8800086ba352f217057e Mon Sep 17 00:00:00 2001 From: "Sebastian.Just" Date: Fri, 5 Sep 2014 09:23:06 -0400 Subject: [PATCH 2/3] Undo --- lib/uploadhandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/uploadhandler.js b/lib/uploadhandler.js index 7bac7c0..3233e86 100644 --- a/lib/uploadhandler.js +++ b/lib/uploadhandler.js @@ -27,7 +27,7 @@ module.exports = function (options) { this.res.set({ 'Pragma': 'no-cache', 'Cache-Control': 'no-store, no-cache, must-revalidate', - // 'Content-Disposition': 'inline; filename="files.json"' + 'Content-Disposition': 'inline; filename="files.json"' }); }; From 56c640a1c799d2bea9da96d6ca13413f8fcb42b1 Mon Sep 17 00:00:00 2001 From: "Sebastian.Just" Date: Fri, 5 Sep 2014 09:48:44 -0400 Subject: [PATCH 3/3] Content dispostion as it causes a download box on IE8 --- lib/uploadhandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/uploadhandler.js b/lib/uploadhandler.js index 3233e86..7bac7c0 100644 --- a/lib/uploadhandler.js +++ b/lib/uploadhandler.js @@ -27,7 +27,7 @@ module.exports = function (options) { this.res.set({ 'Pragma': 'no-cache', 'Cache-Control': 'no-store, no-cache, must-revalidate', - 'Content-Disposition': 'inline; filename="files.json"' + // 'Content-Disposition': 'inline; filename="files.json"' }); };