Commit c212b9b8 authored by Vincent Bechu's avatar Vincent Bechu Committed by Tristan Cavelier

[wsgixml] Allowed cross domain request

/reviewed-on nexedi/cloudooo!14
parent 290f92fb
...@@ -69,7 +69,8 @@ class WSGIXMLRPCApplication(object): ...@@ -69,7 +69,8 @@ class WSGIXMLRPCApplication(object):
else: else:
# got a valid XML RPC response # got a valid XML RPC response
start_response("200 OK", [('Content-Type', 'text/xml'), start_response("200 OK", [('Content-Type', 'text/xml'),
('Content-Length', str(len(response)),)]) ('Content-Length', str(len(response)),),
('Access-Control-Allow-Origin', '*')])
return [response] return [response]
def __call__(self, environ, start_response): def __call__(self, environ, start_response):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment