feature #1122 Add OPTIONS request routing directly to Application (jimdoescode, jim)
This PR was submitted for the master branch but it was merged into the 1.3 branch instead (closes #1122). Discussion ---------- Add OPTIONS request routing directly to Application I think it's important to add this HTTP Method directly to the application because it's often called automatically by browsers during AJAX requests. Meaning it's required that anyone sending AJAX requests to Silex will have to implement some kind of OPTIONS handling. I realize that you can use the match and method calls to do this same thing but those make routing OPTIONS requests less obvious. Commits ------- 20be5c99 Fixed whitespace issue 45dc2bcc Add options request capability to controller collection 7ca60854 Update Application add options method for handling option routing
Showing
Please register or sign in to comment