]> source.dussan.org Git - nextcloud-server.git/commit
AppFramework do not get default response 508/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Wed, 20 Jul 2016 19:30:39 +0000 (21:30 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 21 Jul 2016 18:32:48 +0000 (20:32 +0200)
commit2abd83212e5702051ef0b131a088f1d7e303475f
tree40876e41a7b8db55f97fec98aa3985db24767464
parentb4c7eb5326c604be06dc301efc18b7c7f436ea9b
AppFramework do not get default response

The OCSResponse differs from other responses in that it defaults to
XML. However we fell back to json by default.

This makes sure that if nothing is set we don't pass anything.
Which defaults then to the controllers default (which is often 'json')
but in the case of the OCSResponse 'xml'.
lib/private/AppFramework/Http/Dispatcher.php
lib/private/AppFramework/Middleware/OCSMiddleware.php
lib/public/AppFramework/Controller.php
lib/public/AppFramework/OCSController.php