Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question "Range" RequestHeader and UnityWebRequest

Discussion in 'Web' started by AgnosiaGames, Dec 17, 2020.

  1. AgnosiaGames

    AgnosiaGames

    Joined:
    May 26, 2020
    Posts:
    57
    Code (CSharp):
    1. var download = UnityWebRequest.Post(url, form);
    2. download.SetRequestHeader("Range", "bytes=0-100");
    3. yield return download.SendWebRequest();
    This gives full of data. but range is "bytes=0-100". What is problem in these codes?
     
  2. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    283