@miqro/core 5.1.4 → 5.1.5
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/build/types.js +2 -2
- package/package.json +1 -1
- package/src/types.ts +2 -2
package/build/types.js
CHANGED
|
@@ -335,7 +335,7 @@ export class Response extends ServerResponse {
|
|
|
335
335
|
return this.asyncEnd({
|
|
336
336
|
status,
|
|
337
337
|
headers: {
|
|
338
|
-
|
|
338
|
+
Connection: "close"
|
|
339
339
|
}
|
|
340
340
|
});
|
|
341
341
|
}
|
|
@@ -416,7 +416,7 @@ export class Response extends ServerResponse {
|
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
this.setHeader("
|
|
419
|
+
this.setHeader("Connection", "close");
|
|
420
420
|
//console.log("body = [%s][%s]", nBody, typeof nBody);
|
|
421
421
|
this.end(nBody, () => {
|
|
422
422
|
resolve();
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -694,7 +694,7 @@ export class Response<Request extends IncomingMessage = IncomingMessage> extends
|
|
|
694
694
|
return this.asyncEnd({
|
|
695
695
|
status,
|
|
696
696
|
headers: {
|
|
697
|
-
|
|
697
|
+
Connection: "close"
|
|
698
698
|
}
|
|
699
699
|
});
|
|
700
700
|
}
|
|
@@ -776,7 +776,7 @@ export class Response<Request extends IncomingMessage = IncomingMessage> extends
|
|
|
776
776
|
}
|
|
777
777
|
}
|
|
778
778
|
}
|
|
779
|
-
this.setHeader("
|
|
779
|
+
this.setHeader("Connection", "close");
|
|
780
780
|
//console.log("body = [%s][%s]", nBody, typeof nBody);
|
|
781
781
|
this.end(nBody, () => {
|
|
782
782
|
resolve();
|