working 404, http headers returning properly