mirror of https://github.com/lukechilds/node.git
Browse Source
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>v7.x
yorkie
9 years ago
2 changed files with 17 additions and 0 deletions
@ -0,0 +1,14 @@ |
|||
'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'); |
Loading…
Reference in new issue