Fix request body pointer getting messed up by reading the StringIO