http: use the status code defined in the http package instead of the numeric value