Move the Allow response back into OPTIONS where it really belongs.

This commit is contained in:
Andrew McMillan 2009-12-24 20:37:43 +13:00
parent d09ac0d004
commit 3fb0b392fa

View File

@ -45,5 +45,8 @@ if ( !$exists ) {
$request->DoResponse( 404, translate("No collection found at that location.") );
}
$allowed = implode( ', ', array_keys($request->supported_methods) );
header( 'Allow: '.$allowed);
$request->DoResponse( 200, "" );