Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
cloudooo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
cloudooo
Commits
c212b9b8
Commit
c212b9b8
authored
Jan 30, 2018
by
Vincent Bechu
Committed by
Tristan Cavelier
Feb 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[wsgixml] Allowed cross domain request
/reviewed-on
nexedi/cloudooo!14
parent
290f92fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cloudooo/wsgixmlrpcapplication.py
cloudooo/wsgixmlrpcapplication.py
+2
-1
No files found.
cloudooo/wsgixmlrpcapplication.py
View file @
c212b9b8
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment