mirror of
https://github.com/actix/actix-web.git
synced 2024-11-20 08:31:09 +00:00
fix doc
This commit is contained in:
parent
0f75d066f2
commit
96381f5d6a
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue