mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-27 17:52:56 +01:00
fix doc
This commit is contained in:
parent
0f75d066f2
commit
96381f5d6a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user