added method to expose HTTP body more accurately