Comparing version 2.13.3 to 2.13.4
2.13.4 / 2021-10-19 | ||
================== | ||
**fixes** | ||
* [[`dbc9c5a`](http://github.com/koajs/koa/commit/dbc9c5a47e2b2799cab403186fdb010df5df6f67)] - fix: Do not response Content-Length if Transfer-Encoding is defined (#1602) (Yiyu He <<dead_horse@qq.com>>) | ||
2.13.3 / 2021-09-24 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -194,3 +194,5 @@ | ||
set length(n) { | ||
this.set('Content-Length', n); | ||
if (!this.has('Transfer-Encoding')) { | ||
this.set('Content-Length', n); | ||
} | ||
}, | ||
@@ -197,0 +199,0 @@ |
{ | ||
"name": "koa", | ||
"version": "2.13.3", | ||
"version": "2.13.4", | ||
"description": "Koa web app framework", | ||
@@ -5,0 +5,0 @@ "main": "lib/application.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93918
1592