Call SetupRequestAsync only after ContentType changes. Fixes 19529.
Reset stream position before doing CopyToAsync.
CopyToAsync begins copying at the current position.