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:
parent
04cc8b336b
commit
838f64d5ad
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user