don't call transform block if HTTP error exists

we were calling the transform block regardless of whether there was an
HTTP status code indicating an error.

when using an updateModel call it would overwrite the existing object
if the server returned an error and a garbage HTML response.