mirror of
https://github.com/nodejs/node.git
synced 2025-05-05 15:32:15 +00:00

PR-URL: https://github.com/nodejs/node/pull/7949 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
15 lines
459 B
JavaScript
15 lines
459 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const assert = require('assert');
|
|
|
|
const http = require('http');
|
|
const OutgoingMessage = http.OutgoingMessage;
|
|
const ClientRequest = http.ClientRequest;
|
|
const ServerResponse = http.ServerResponse;
|
|
|
|
assert.throws(OutgoingMessage.prototype._implicitHeader);
|
|
assert.strictEqual(
|
|
typeof ClientRequest.prototype._implicitHeader, 'function');
|
|
assert.strictEqual(
|
|
typeof ServerResponse.prototype._implicitHeader, 'function');
|