Allowing Zend\Test to verify application's custom HTTP response codes
Removing trailing spaces introduced in #5838
Merge branch 'hotfix/#5838-zend-test-allow-custom-response-code'

Close #5838