From 70a68446992102d65ac568ede175f9127a41fd88 Mon Sep 17 00:00:00 2001 From: Craig Sebenik Date: Tue, 6 Aug 2013 16:46:41 -0700 Subject: [PATCH] fixing broken salt_ip_verify_tool method --- saltapi/netapi/rest_cherrypy/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/saltapi/netapi/rest_cherrypy/app.py b/saltapi/netapi/rest_cherrypy/app.py index 95fe6d187b..fa2980a321 100644 --- a/saltapi/netapi/rest_cherrypy/app.py +++ b/saltapi/netapi/rest_cherrypy/app.py @@ -220,6 +220,8 @@ def salt_ip_verify_tool(): 'status': cherrypy.response.status, 'return': "Bad IP", } + request = cherrypy.serving.request + cherrypy.response.headers['Access-Control-Allow-Origin'] = '*' def salt_auth_tool():