public WWW(string url, byte[] postData, Dictionary <string, string> headers) { string[] array = WWW.FlattenedHeadersFrom(headers); if (this.enforceWebSecurityRestrictions()) { WWW.CheckSecurityOnHeaders(array); } this.InitWWW(url, postData, array); }
public WWW(string url, WWWForm form) { string[] array = WWW.FlattenedHeadersFrom(form.headers); if (this.enforceWebSecurityRestrictions()) { WWW.CheckSecurityOnHeaders(array); } this.InitWWW(url, form.data, array); }