braid-http
Advanced tools
Comparing version 0.3.11 to 0.3.12
@@ -198,4 +198,4 @@ var assert = require('assert') | ||
// Extract braid info from headers | ||
var version = req.headers.version && JSON.parse('['+req.headers.version+']'), | ||
parents = req.headers.parents && JSON.parse('['+req.headers.parents+']'), | ||
var version = ('version' in req.headers) && JSON.parse('['+req.headers.version+']'), | ||
parents = ('parents' in req.headers) && JSON.parse('['+req.headers.parents+']'), | ||
peer = req.headers['peer'], | ||
@@ -202,0 +202,0 @@ url = req.url.substr(1) |
{ | ||
"name": "braid-http", | ||
"version": "0.3.11", | ||
"version": "0.3.12", | ||
"description": "An implementation of Braid-HTTP for Node.js and Browsers", | ||
@@ -5,0 +5,0 @@ "scripts": { |
45019