nextcloud/tests/lib/appframework/http
Bernhard Posselt 9a4d204b55 add cors middleware
remove methodannotationreader namespace

fix namespace for server container

fix tests

fail if with cors credentials header is set to true, implement a reusable preflighted cors method in the controller baseclass, make corsmiddleware private and register it for every request

remove uneeded  local in cors middleware registratio

dont uppercase cors to easily use it from routes

fix indention

comment fixes

explicitely set allow credentials header to false

dont depend on better controllers PR, fix that stuff later

split cors methods to be in a seperate controller for exposing apis

remove protected definitions from apicontroller since controller has it
2014-05-09 23:34:41 +02:00
..
DispatcherTest.php Scrutinizer Auto-Fixes 2014-02-19 09:31:54 +01:00
DownloadResponseTest.php make download and redirectresponse public 2014-04-20 16:12:46 +02:00
HttpTest.php Fix namespace for OCP\Appframework\Http 2013-10-23 05:57:34 +02:00
JSONResponseTest.php Remove uneeded usages of nosniff 2014-04-13 12:48:16 +02:00
RedirectResponseTest.php make download and redirectresponse public 2014-04-20 16:12:46 +02:00
RequestTest.php default to GET request when no method is set to fix unittests, also set parsed json parameters on the post attribute 2014-04-12 16:17:49 +02:00
ResponseTest.php add cors middleware 2014-05-09 23:34:41 +02:00
TemplateResponseTest.php Chainable Response in AppFramework 2014-03-09 23:01:16 +01:00
requeststream.php Implement PUT an PATCH support 2013-10-01 20:13:13 +02:00