Catch HttpException and return plain response.