Resolve spurious undefined errors

HEAD requests have no body so check for that situation.
Mentioned by Getty.
Bumpity version