Use status code constants from HTTP::Status

The status code in the response is checked, by default with 200. Use a
constant defined in HTTP::Status so that it's more clear what the
meaning is.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>