[ticket/11568] Allow different status codes

PHPBB3-11568