test http upload and download