Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Added request data to OPTIONS requests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchisari committed Mar 17, 2011
1 parent 7dc410a commit de12dc8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/default/request.php
Expand Up @@ -50,6 +50,10 @@ public function __construct ( ) {
break;
break;

case 'OPTIONS':
parse_str(file_get_contents('php://input'), $Data);
break;

case 'PUT':
parse_str(file_get_contents('php://input'), $Data);
break;
Expand Down

0 comments on commit de12dc8

Please sign in to comment.