From 0b589915b98a57acc521749b7df6ea9f682f60c5 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Thu, 14 Apr 2016 22:24:13 -0700 Subject: [PATCH] Update auth.rs --- webapp/src/router/auth.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/src/router/auth.rs b/webapp/src/router/auth.rs index b05ffc3da..95e86b51a 100644 --- a/webapp/src/router/auth.rs +++ b/webapp/src/router/auth.rs @@ -116,6 +116,7 @@ impl server::Handler for UnauthorizedHandler { res.set_status(StatusCode::Unauthorized); Next::write() } + fn on_response_writable(&mut self, encoder: &mut Encoder) -> Next { let response = "Unauthorized".as_bytes();