add some code in HttpUtility
implement the 404 and 501