Updating write methods with httr; the intentional errors alternate between 411 and 404