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

add some useful header name constants (#2956)

This commit is contained in:
Rob Ede
2023-01-02 13:33:31 +00:00
committed by GitHub
parent d2364c80c4
commit 7b936bc443
3 changed files with 70 additions and 12 deletions

View File

@ -4,12 +4,20 @@
### Added
- Implement `MessageBody` for `&mut B` where `B: MessageBody + Unpin`. [#2868]
- Implement `MessageBody` for `Pin<B>` where `B::Target: MessageBody`. [#2868]
- Header name constants in `header` module. [#2956]
- `CROSS_ORIGIN_EMBEDDER_POLICY`
- `CROSS_ORIGIN_OPENER_POLICY`
- `PERMISSIONS_POLICY`
- `X_FORWARDED_FOR`
- `X_FORWARDED_HOST`
- `X_FORWARDED_PROTO`
### Performance
- Improve overall performance of operations on `Extensions`. [#2890]
[#2868]: https://github.com/actix/actix-web/pull/2868
[#2890]: https://github.com/actix/actix-web/pull/2890
[#2956]: https://github.com/actix/actix-web/pull/2956
## 3.2.2 - 2022-09-11