diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | pollymer.js | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -VERSION = 1.0.0 +VERSION = 1.0.1 all: dist diff --git a/pollymer.js b/pollymer.js index 20995b2..53b0573 100644 --- a/pollymer.js +++ b/pollymer.js @@ -58,6 +58,9 @@ var DEBUG = true; var headerPairs = headerStr.split('\u000d\u000a'); for (var i = 0; i < headerPairs.length; i++) { var headerPair = headerPairs[i]; + if (headerPair[0] == '\u000a') { + headerPair = headerPair.substring(1); + } var index = headerPair.indexOf('\u003a\u0020'); if (index > 0) { var key = headerPair.substring(0, index); |