Innovenergy_trunk/frontend/node_modules/testcafe-hammerhead/lib/request-pipeline/create-special-page-respons...

18 lines
727 B
JavaScript
Raw Permalink Normal View History

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const incoming_message_like_1 = __importDefault(require("./incoming-message-like"));
const builtin_header_names_1 = __importDefault(require("./builtin-header-names"));
function createSpecialPageResponse() {
return new incoming_message_like_1.default({
headers: {
[builtin_header_names_1.default.contentType]: 'text/html',
[builtin_header_names_1.default.contentLength]: '0',
},
});
}
exports.default = createSpecialPageResponse;module.exports = exports.default;