Returns a 405 Method Not Allowed response to the client.

Arguments

This action has no arguments and does not allow conditions.

Remarks

This is a final action. When this action is executed, it sets the response status to 405 Method Not Allowed, processing halts and the status code and response are sent to the client.

Examples

<if method="DELETE">
<not-allowed />
</if>

See Also