Better REST error handling and .htaccess allowing PATCH.