Setting contentype at download time