From 95f4ca46c98aaebd900e26972f55f06a8b0ea9d0 Mon Sep 17 00:00:00 2001
From: echicken <>
Date: Thu, 15 Mar 2018 18:28:13 +0000
Subject: [PATCH] That 'this' was not the 'this' that your 'self' was looking
 for there then. May resolve the error reported by Bill McGarrity
 (this.extra_headers is undefined).

---
 exec/load/http.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/load/http.js b/exec/load/http.js
index 4470981da5..aeb94d81d7 100644
--- a/exec/load/http.js
+++ b/exec/load/http.js
@@ -49,7 +49,7 @@ HTTPRequest.prototype.AddExtraHeaders = function () {
 	var self = this;
 	Object.keys(this.extra_headers).forEach(
 		function (e) {
-			self.request_headers.push(e + ': ' + this.extra_headers[e]);
+			self.request_headers.push(e + ': ' + self.extra_headers[e]);
 		}
 	);
 };
-- 
GitLab