braid-http 1.3.54 → 1.3.55

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.
@@ -374,6 +374,7 @@ function braidify (req, res, next) {
374
374
  ':status': 293,
375
375
  'Multiplex-Through': req.headers['multiplex-through'],
376
376
  'Multiplex-Version': multiplex_version,
377
+ 'Cache-Control': 'no-store',
377
378
  ...Object.fromEntries(cors_headers)
378
379
  })
379
380
  og_stream.write('Ok.')
@@ -382,6 +383,7 @@ function braidify (req, res, next) {
382
383
  og_socket.write('HTTP/1.1 293 Responded via multiplexer\r\n')
383
384
  og_socket.write(`Multiplex-Through: ${req.headers['multiplex-through']}\r\n`)
384
385
  og_socket.write(`Multiplex-Version: ${multiplex_version}\r\n`)
386
+ og_socket.write(`Cache-Control: no-store\r\n`)
385
387
  cors_headers.forEach(([key, value]) =>
386
388
  og_socket.write(`${key}: ${value}\r\n`))
387
389
  og_socket.write('\r\n')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braid-http",
3
- "version": "1.3.54",
3
+ "version": "1.3.55",
4
4
  "description": "An implementation of Braid-HTTP for Node.js and Browsers",
5
5
  "scripts": {
6
6
  "test": "node test/server.js"