mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
feature #3819: Set content type for onegate responses
(cherry picked from commit 838f64d5ad)
This commit is contained in:
1 parent
3bc3503d96
commit
4508319e86
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user