diff --git a/lib/quip.js b/lib/quip.js
index <HASH>..<HASH> 100644
--- a/lib/quip.js
+++ b/lib/quip.js
@@ -103,6 +103,9 @@ exports.update = function(res){
         if(res._quip_headers['Content-Type'] == 'application/json'){
             if(typeof data == 'object') data = JSON.stringify(data);
         }
+        if(data) {
+            res._quip_headers['Content-Length'] = Buffer.byteLength(data);
+        }
         res.writeHead(res._quip_status, res._quip_headers);
         if(data) res.write(data);
         res.end();
Added Content-Length header