1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

feature #3819: Set content type for onegate responses

This commit is contained in:
Daniel Molina 2015-11-06 16:28:41 +01:00
parent 04cc8b336b
commit 838f64d5ad

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