From: Victor Wagner Date: Fri, 11 Oct 2013 18:39:08 +0000 (+0400) Subject: output headers for userinfo X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=8ef30d247348e78ddac9117f58c0069dc947c941;p=oss%2Fvjournal.git output headers for userinfo --- 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);