add a method to tell if a request has a body or not