aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--pollymer.js3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fc77805..f05326a 100644
--- a/Makefile
+++ b/Makefile
@@ -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);