braid-http 1.3.25 → 1.3.26

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.
@@ -311,7 +311,8 @@ function braidify (req, res, next) {
311
311
  var [multiplexer, stream] = req.headers.multiplexer.slice(1).split('/')
312
312
 
313
313
  var end_things = (msg) => {
314
- res.statusCode = 422 // Unprocessable Entity (but good syntax!)
314
+ // 422 = Unprocessable Entity (but good syntax!)
315
+ res.writeHead(422, {Multiplexer: req.headers.multiplexer})
315
316
  res.end(msg)
316
317
  }
317
318
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braid-http",
3
- "version": "1.3.25",
3
+ "version": "1.3.26",
4
4
  "description": "An implementation of Braid-HTTP for Node.js and Browsers",
5
5
  "scripts": {
6
6
  "test": "node test/server.js"