Skip to content

Commit d89aa80

Browse files
authored
Merge pull request #81 from jasonzoladz/master
Fixed bug in splitting headers
2 parents 1795b1a + cf34243 commit d89aa80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Network/HTTP/Affjax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ exports._ajax = function (mkHeader, options, canceler, errback, callback) {
6161
xhr.onload = function () {
6262
callback({
6363
status: xhr.status,
64-
headers: xhr.getAllResponseHeaders().split("\n")
64+
headers: xhr.getAllResponseHeaders().split("\r\n")
6565
.filter(function (header) {
6666
return header.length > 0;
6767
})

0 commit comments

Comments
 (0)