Check status

Both Patch and Delete have to do a Get on a document before they can do their operations.  There wasn't a check to see if this Get succeeded.  It could fail due to the user not having permissions among other reasons.  I've added a check to return the status, headers, and messages if it fails.