Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of git://github.com/brycebaril/http-browserify …

…into brycebaril-master
  • Loading branch information...
commit 51ee6ab20510a5dabcbea9f4bebe516e756b5ba4 2 parents e25653c + 965f696
@substack authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/request.js
View
2  lib/request.js
@@ -24,7 +24,7 @@ var Request = module.exports = function (xhr, params) {
var keys = objectKeys(params.headers);
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
- if (!self.isSafeRequestHeader(key)) return;
+ if (!self.isSafeRequestHeader(key)) continue;
var value = params.headers[key];
if (isArray(value)) {
for (var j = 0; j < value.length; j++) {
Please sign in to comment.
Something went wrong with that request. Please try again.