mirror of https://github.com/fafhrd91/actix-web
update changelog
This commit is contained in:
parent
fd6e4a76f8
commit
a71627e61e
|
@ -1,9 +1,9 @@
|
|||
# Changes
|
||||
|
||||
## Unreleased - 2021-xx-xx
|
||||
* Fix 304 Not Modified responses to omit the Content-Length header, as per the spec. [#????]
|
||||
* Fix 304 Not Modified responses to omit the Content-Length header, as per the spec. [#2453]
|
||||
|
||||
[#????]: https://github.com/actix/actix-web/pull/????
|
||||
[#2453]: https://github.com/actix/actix-web/pull/2453
|
||||
|
||||
|
||||
## 0.6.0-beta.8 - 2021-10-20
|
||||
|
|
|
@ -838,8 +838,8 @@ async fn test_not_modified_spec_h1() {
|
|||
res.headers().get(&CL),
|
||||
Some(&header::HeaderValue::from_static("4")),
|
||||
);
|
||||
// server does not prevent payload from being sent but clients will likely choose not to read it
|
||||
// TODO: this is probably a bug
|
||||
// server does not prevent payload from being sent but clients may choose not to read it
|
||||
// TODO: this is probably a bug, especially since CL header can differ in length from the body
|
||||
assert!(!srv.load_body(res).await.unwrap().is_empty());
|
||||
|
||||
// TODO: add stream response tests
|
||||
|
|
Loading…
Reference in New Issue