make status code handling more consistent on post