laravel/framework — pull request #4672 by darrylkuhn (2014-06-11 20:05:30+00:00)
Title: Options Route Method

Many modern Javascript frameworks execute a pre-flight options call when making a CORS request (in my case I am using angularJS). I've taken a cue from zacstewart.com and others to support a richer OPTIONS response in order to deliver a more robust description of the resource and its capabilities (the HTTP verbs it supports).

The word "describe" I chose based on the Cors Overview up on the Mozilla site which reads:

The Cross-Origin Resource Sharing standard works by adding new HTTP headers that allow servers to describe the set of origins that are permitted to read that information using a web browser.