InspectBody method now can receive a callback function to return the body content.