From 9edc769c114969c3a2d274a59a93f0ac5e090094 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 19 Jun 2014 10:09:56 -0400 Subject: [PATCH] feature(flop) write: add Buffer --- lib/server/flop.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/server/flop.js b/lib/server/flop.js index 27a61ba9..bb7be64d 100644 --- a/lib/server/flop.js +++ b/lib/server/flop.js @@ -107,6 +107,8 @@ if (!type) type = ''; + else if (type instanceof Buffer) + type = 'string'; switch(type) { case 'string':