OrphanResource, No location check for 202, refactoring, delete

This is rebased from dudycooly/postresponse_call