print body on http errors as well
added slicing