@faasjs/http 0.0.2-beta.289 → 0.0.2-beta.290

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.
package/lib/index.es.js CHANGED
@@ -454,7 +454,7 @@ class Http {
454
454
  // 处理 headers
455
455
  this.response.headers = Object.assign({
456
456
  'Content-Type': 'application/json; charset=utf-8',
457
- 'X-SCF-RequestId': data.context.request_id
457
+ 'Cache-Control': 'no-cache, no-store'
458
458
  }, this.cookie.headers(), this.response.headers);
459
459
  data.response = this.response;
460
460
  if (process.env.FaasMode === 'local') {
package/lib/index.js CHANGED
@@ -458,7 +458,7 @@ class Http {
458
458
  // 处理 headers
459
459
  this.response.headers = Object.assign({
460
460
  'Content-Type': 'application/json; charset=utf-8',
461
- 'X-SCF-RequestId': data.context.request_id
461
+ 'Cache-Control': 'no-cache, no-store'
462
462
  }, this.cookie.headers(), this.response.headers);
463
463
  data.response = this.response;
464
464
  if (process.env.FaasMode === 'local') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faasjs/http",
3
- "version": "0.0.2-beta.289",
3
+ "version": "0.0.2-beta.290",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.es.js",
@@ -26,5 +26,5 @@
26
26
  "rollup-plugin-typescript2": "*",
27
27
  "typescript": "*"
28
28
  },
29
- "gitHead": "dd1885081fb34c8497bafa5e03325d4e4bdd47ad"
29
+ "gitHead": "e2e31c34a721d45a2c98dcec493521127cf6f4d2"
30
30
  }