Only try to parse entity body in time-parsing middleware when the body exists.