1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-01 01:16:59 +02:00

fix: include content-length with bytes payload (#3695)

* fix: include content-length with bytes payload

* chore: json unit-test patch

* Update doc comment

---------

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
This commit is contained in:
Andrew Scott
2025-08-24 02:42:11 -07:00
committed by GitHub
parent aeb42486af
commit c6352005f7
3 changed files with 9 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
## Unreleased
- Update `TestRequest::set_payload` to generate "Content-Length" header
- Malformed websocket frames are now gracefully rejected.
## 3.11.0