braid-http
Advanced tools
Comparing version
@@ -988,3 +988,4 @@ | ||
headers: {'Multiplex-Version': multiplex_version}, | ||
retry: true | ||
retry: true, | ||
multiplex: false | ||
}) | ||
@@ -1006,3 +1007,4 @@ if (r.status === 409) { | ||
headers: {'Multiplex-Version': multiplex_version}, | ||
retry: true}) | ||
retry: true, | ||
multiplex: false}) | ||
if (r.status === 409) { | ||
@@ -1009,0 +1011,0 @@ var e = await r.json() |
@@ -224,2 +224,8 @@ var assert = require('assert') | ||
function braidify (req, res, next) { | ||
if (typeof req === 'function') { | ||
var handler = req | ||
return (req, res, next) => | ||
braidify(req, res, () => handler(req, res, next)) | ||
} | ||
// console.log('\n## Braidifying', req.method, req.url, req.headers.peer) | ||
@@ -226,0 +232,0 @@ |
{ | ||
"name": "braid-http", | ||
"version": "1.3.56", | ||
"version": "1.3.57", | ||
"description": "An implementation of Braid-HTTP for Node.js and Browsers", | ||
@@ -5,0 +5,0 @@ "scripts": { |
87985
0.3%1722
0.41%