From 8ef30d247348e78ddac9117f58c0069dc947c941 Mon Sep 17 00:00:00 2001 From: Victor Wagner Date: Fri, 11 Oct 2013 22:39:08 +0400 Subject: [PATCH] output headers for userinfo --- bin/userinfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/userinfo b/bin/userinfo index 653d099..7499a90 100644 --- a/bin/userinfo +++ b/bin/userinfo @@ -65,6 +65,6 @@ if (!defined $session) { } } -$session->header(-content_type=>"text/json",-charset=>utf-8); +print $session->header(-content_type=>"text/json",-charset=>"utf-8"); print encode_json($out); -- 2.39.5