1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 22:49:21 +02:00

add cookie methods to HttpResponse

This commit is contained in:
axon-q
2018-06-12 13:49:07 +00:00
parent e414a52b51
commit d8e1fd102d
2 changed files with 106 additions and 3 deletions

View File

@ -4,6 +4,8 @@
### Added
* Add methods to `HttpResponse` to retrieve, add, and delete cookies
* Add `.set_content_type()` and `.set_content_disposition()` methods
to `fs::NamedFile` to allow overriding the values inferred by default
@ -22,6 +24,9 @@
* Min rustc version is 1.26
* `HttpResponse::into_builder()` now moves cookies into the builder
instead of dropping them
* Use tokio instead of tokio-core
* Use `&mut self` instead of `&self` for Middleware trait