braid-http 0.3.13 → 0.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -455,7 +455,7 @@ function parse_headers (input) {
455
455
 
456
456
  // Let's parse them! First define some variables:
457
457
  var headers = {},
458
- header_regex = /([\w-_]+):\s?(.*)\r?\n/gy, // Parses one line a time
458
+ header_regex = /([\w-_]+):\s?(.*)\r?\n?/gy, // Parses one line a time
459
459
  match,
460
460
  found_last_match = false
461
461
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braid-http",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "description": "An implementation of Braid-HTTP for Node.js and Browsers",
5
5
  "scripts": {
6
6
  "test": "node test/server.js"