Issue #3436136 by dineshkumarbollu, joachim: Improve documentation for OptionsRequestSubscriber
(cherry picked from commit 4b54857210
)
merge-requests/7849/head
parent
b918dd3238
commit
7506af29b5
|
@ -12,8 +12,9 @@ use Symfony\Component\Routing\Route;
|
||||||
/**
|
/**
|
||||||
* Handles options requests.
|
* Handles options requests.
|
||||||
*
|
*
|
||||||
* Therefore it sends an options response using all methods on all possible
|
* Listens to KernelEvents::REQUEST and responds to OPTIONS requests by
|
||||||
* routes.
|
* providing an Allow header listing all the HTTP methods allowed for the
|
||||||
|
* requested routes.
|
||||||
*/
|
*/
|
||||||
class OptionsRequestSubscriber implements EventSubscriberInterface {
|
class OptionsRequestSubscriber implements EventSubscriberInterface {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue