feature #3819: Set content type for onegate responses

(cherry picked from commit 838f64d5ad)
This commit is contained in:
Daniel Molina committed 2015-12-10 10:53:52 +01:00
1 parent 3bc3503d96
commit 4508319e86
1 file changed
+4
+4
View File
@@ -81,6 +81,10 @@ end
set :cloud_auth, $cloud_auth
before do
content_type 'application/json', :charset => 'utf-8'
end
helpers do
def authenticate(env, params)
begin