Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cloudooo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
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
!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