Minor improvement to reading a request body