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:
@ -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
|
||||
|
Reference in New Issue
Block a user