Update 0.2.3: Fix issue #19 again...

Add link to project page
This commit is contained in:
Joxit 2017-08-06 21:47:23 +02:00
parent d34d793b73
commit 5cf136541f
9 changed files with 14 additions and 8 deletions

View file

@ -82,6 +82,6 @@ Http.prototype.send = function() {
Http.hasHeader = function(header) {
return this.getAllResponseHeaders().split('\n').some(function(h) {
return h.match(new RegExp('^' + header + ':'), 'i');
return new RegExp('^' + header + ':', 'i').test(h);
});
};