braid-http
Advanced tools
Comparing version 1.3.27 to 1.3.28
@@ -968,2 +968,7 @@ // var peer = Math.random().toString(36).substr(2) | ||
// if the response says it's ok, | ||
// but it's is not a multiplexed response, | ||
// fall back to as if it was a normal fetch | ||
if (res.ok && res.status !== 293) return res | ||
if (res.status !== 293) throw new Error('Could not establish multiplexed stream ' + params.headers.get('multiplexer') + ', got status: ' + res.status) | ||
@@ -970,0 +975,0 @@ |
{ | ||
"name": "braid-http", | ||
"version": "1.3.27", | ||
"version": "1.3.28", | ||
"description": "An implementation of Braid-HTTP for Node.js and Browsers", | ||
@@ -5,0 +5,0 @@ "scripts": { |
81801
1581