Code coverage report for lib/deps/ajax/applyTypeToBuffer.js

Statements: 100% (2 / 2)      Branches: 100% (0 / 0)      Functions: 100% (1 / 1)      Lines: 100% (2 / 2)      Ignored: none     

All files » lib/deps/ajax/ » applyTypeToBuffer.js
1 2 3 4 5 6      2 593  
'use strict';
 
// non-standard, but we do this to mimic blobs in the browser
module.exports = function (buffer, resp) {
  buffer.type = resp.headers['content-type'];
};