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

return option item from Extensions::insert (#1904)

This commit is contained in:
Rob Ede
2021-01-15 04:22:42 +00:00
committed by GitHub
parent b1dd8d28bc
commit f976150b67
4 changed files with 82 additions and 17 deletions

View File

@ -12,6 +12,7 @@
`mime` types. [#1894]
* Renamed `IntoHeaderValue::{try_into => try_into_value}` to avoid ambiguity with std
`TryInto` trait. [#1894]
* `Extensions::insert` returns Option of replaced item. [#1904]
### Removed
* `ResponseBuilder::set`; use `ResponseBuilder::insert_header`. [#1869]
@ -22,6 +23,7 @@
[#1869]: https://github.com/actix/actix-web/pull/1869
[#1894]: https://github.com/actix/actix-web/pull/1894
[#1904]: https://github.com/actix/actix-web/pull/1904
## 3.0.0-beta.1 - 2021-01-07