diff --git a/examples/responses/src/main.rs b/examples/responses/src/main.rs index a43754e..46076eb 100644 --- a/examples/responses/src/main.rs +++ b/examples/responses/src/main.rs @@ -11,7 +11,7 @@ use actix_web::HttpResponse; async fn index() -> HttpResponse { HttpResponse::Ok() - .content_type("plain/text") + .content_type("text/plain") .header("X-Hdr", "sample") .body("data") }