UNPKG

384 BJavaScriptView Raw
1"use strict";
2
3/*!
4 * Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file.
5 */
6
7/**
8 * @param {http.IncomingMessage} req
9 * @param {http.ServerResponse} res
10 * @returns {undefined}
11 */
12function reflect(req, res) {
13 res.set("content-type", req.headers["content-type"]);
14 res.status(200).send(req.body).end();
15}
16
17module.exports = reflect;
18//# sourceMappingURL=reflect.js.map