1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-20 08:31:09 +00:00
This commit is contained in:
Nikolay Kim 2017-12-11 14:27:09 -08:00
parent 0f75d066f2
commit 96381f5d6a

View file

@ -63,8 +63,8 @@ INFO:actix_web::middlewares::logger: 127.0.0.1:59947 [02/Dec/2017:00:22:40 -0800
## Default headers ## Default headers
Tto set default response headers `DefaultHeaders` middleware could be used. To set default response headers `DefaultHeaders` middleware could be used.
*DefaultHeaders* middleware does not set header if response headers already contains it. *DefaultHeaders* middleware does not set header if response headers contains header.
```rust ```rust
# extern crate actix_web; # extern crate actix_web;