We seem to have blocks on PUT and POST here
if (response.statusCode >= 300 &&
response.statusCode < 400 &&
self.method !== 'PUT' &&
self.method !== 'POST' &&
Should we also block self.method !== 'DELETE' ?
self.method !== 'DELETE'
the reason we block put and post is because it could be dangerous because the request carries write consequences. DELETE does as well so we should also block it.
Adds tests for GH-119 Fix