fix issue looking up 406 not acceptable http codes