1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 06:57:43 +02:00

add headermap::retain (#2955)

* add headermap::retain

* update changelog and docs

* fix retain doc test
This commit is contained in:
Rob Ede
2023-01-02 13:38:07 +00:00
committed by GitHub
parent 7b936bc443
commit fbd0e5dd0a
2 changed files with 85 additions and 3 deletions

View File

@ -4,6 +4,7 @@
### Added
- Implement `MessageBody` for `&mut B` where `B: MessageBody + Unpin`. [#2868]
- Implement `MessageBody` for `Pin<B>` where `B::Target: MessageBody`. [#2868]
- `HeaderMap::retain()` [#2955].
- Header name constants in `header` module. [#2956]
- `CROSS_ORIGIN_EMBEDDER_POLICY`
- `CROSS_ORIGIN_OPENER_POLICY`
@ -17,6 +18,7 @@
[#2868]: https://github.com/actix/actix-web/pull/2868
[#2890]: https://github.com/actix/actix-web/pull/2890
[#2955]: https://github.com/actix/actix-web/pull/2955
[#2956]: https://github.com/actix/actix-web/pull/2956