hosting end-points: accept WOPISrc parameter.
Change-Id: I902be8e0f9870b13794e1251d6fea90faffdbc97 Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
This commit is contained in:
parent
7179a2d881
commit
85e9d6e03b
1 changed files with 7 additions and 7 deletions
|
@ -3710,13 +3710,13 @@ private:
|
|||
else if (requestDetails.isGet("/favicon.ico"))
|
||||
handleFaviconRequest(requestDetails, socket);
|
||||
|
||||
else if (requestDetails.isGet("/hosting/discovery") ||
|
||||
requestDetails.isGet("/hosting/discovery/"))
|
||||
handleWopiDiscoveryRequest(requestDetails, socket);
|
||||
|
||||
else if (requestDetails.isGet(CAPABILITIES_END_POINT))
|
||||
handleCapabilitiesRequest(request, socket);
|
||||
|
||||
else if (requestDetails.equals(0, "hosting"))
|
||||
{
|
||||
if (requestDetails.equals(1, "discovery"))
|
||||
handleWopiDiscoveryRequest(requestDetails, socket);
|
||||
else if (requestDetails.equals(1, "capabilities"))
|
||||
handleCapabilitiesRequest(request, socket);
|
||||
}
|
||||
else if (requestDetails.isGet("/robots.txt"))
|
||||
handleRobotsTxtRequest(request, socket);
|
||||
|
||||
|
|
Loading…
Reference in a new issue