summaryrefslogtreecommitdiff
path: root/lib/http2.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http2.js')
-rw-r--r--lib/http2.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/http2.js b/lib/http2.js
index 716a7810b3..ebfd3c7a26 100644
--- a/lib/http2.js
+++ b/lib/http2.js
@@ -540,10 +540,6 @@ OutgoingMessage.prototype.getHeader = function(name) {
throw new Error("`name` is required for getHeader().");
}
- if (this._header) {
- throw new Error("Can't use mutable header APIs after sent.");
- }
-
if (!this._headers) return;
var key = name.toLowerCase();