Removes body for HTTP response if it's not required
