UNPKG

mongodb-stitch

Version:

[![Join the chat at https://gitter.im/mongodb/stitch](https://badges.gitter.im/mongodb/stitch.svg)](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

16 lines 508 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Response = (function () { function Response(headers, statusCode, body) { var _this = this; this.statusCode = statusCode; this.body = body; this.headers = {}; Object.keys(headers).map(function (key, index) { _this.headers[key.toLocaleLowerCase()] = headers[key]; }); } return Response; }()); exports.default = Response; //# sourceMappingURL=Response.js.map