add http status code to the response object