Fixing a regression in `data.sync()` caused by call stack optimization where HTTP headers were being passed as the request body