nextcloud/lib/public/appframework
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
..
http add cors middleware 2014-05-09 23:34:41 +02:00
apicontroller.php add cors middleware 2014-05-09 23:34:41 +02:00
app.php Move the router classes to a namespace and expose it with a public interface 2014-03-10 14:04:58 +01:00
controller.php add cors middleware 2014-05-09 23:34:41 +02:00
http.php AppFramework(Controller|HTTP|HTTP-Responses|Middleware), IContainer API fixes 2013-11-25 16:28:24 +01:00
iapi.php polish documentation based on scrutinizer patches 2014-02-06 17:02:21 +01:00
iappcontainer.php register middleware as string to not force request to be instantiated too early and thus not having url parameters 2014-04-09 23:59:57 +02:00
middleware.php AppFramework(Controller|HTTP|HTTP-Responses|Middleware), IContainer API fixes 2013-11-25 16:28:24 +01:00