Fixing Helma bug #628 fails because it also chomps the XML-RPC method any potential work-around is impossible without
This commit is contained in:
parent
113596fa71
commit
7b36852d88
1 changed files with 3 additions and 7 deletions
|
@ -76,13 +76,9 @@ Api.prototype.getPermission = function(){
|
|||
}
|
||||
|
||||
Api.prototype.main_action = function() {
|
||||
if (req.isPost && req.getHeader("Content-type").startsWith("text/xml")) {
|
||||
Api.prototype.main_action_xmlrpc.apply(this, arguments);
|
||||
} else {
|
||||
res.data.title = "Supported Application Programming Interfaces";
|
||||
res.data.body = this.renderSkinAsString("$Api#main");
|
||||
res.handlers.site.renderSkin("Site#page");
|
||||
}
|
||||
res.data.title = "Supported Application Programming Interfaces";
|
||||
res.data.body = this.renderSkinAsString("$Api#main");
|
||||
res.handlers.site.renderSkin("Site#page");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue