kraih/mojo — pull request #669 by maximusfox (2014-08-25 21:35:04+00:00)
Title: Fixt custom message in status line

When attempting to use the following code:
return $self->render(json => { error_message => 'Wrong api key!' }, status => '430 Auth ERROR');
An error occurs:
Argument "430 Auth ERROR" isn't numeric in numeric ge (>=) at /usr/share/perl5/site_perl/Mojo/Message/Response.pm line 141.
Argument "430 Auth ERROR" isn't numeric in numeric eq (==) at /usr/share/perl5/site_perl/Mojo/Message/Response.pm line 135.
This patch fixes some warnings.