title: Unity3D - Add custom headers to WWWForm
body: <p><strong><em>Here is the C# Code I ran:</em></strong></p>
  
  <pre><code>WWWForm formData = new WWWForm ();
  
  //Adding
  formData.headers.Add ("Authorization", "Basic " + System.Convert.ToBase64String(Encoding.UTF8.GetBytes(CONSUMER_KEY + ":" + CONSUMER_SECRET)));
  formData.headers.Add ("Host", "api.twitter.com");
  
  //Assigning
  formData.headers ["Host"] = "api.twitter.com";
  formData.headers ["Authorization"] = "Basic " + System.Convert.ToBase64String (Encoding.UTF8.GetBytes (CONSUMER_KEY + ":" + CONSUMER_SECRET));
  
  Debug.Log (formData.headers ["Authorization"]);
  </code></pre>
  
  <p>As shown above, I tried to add <code>Authorization</code> and <code>Host</code> fields to the header and then Assigning them values just to be sure. However Unity3D throws a Error on <code>formData.headers ["Authorization"]</code> everytime.</p>
  
  <p><strong><em>Here is the Error Message:</em></strong></p>
  
  <pre><code>KeyNotFoundException: The given key was not present in the dictionary.
  System.Collections.Generic.Dictionary`2[System.String,System.String].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150)
  Information+Twitter.GetToken () (at Assets/Static Libraries/Information.cs:143)
  Information.Initialize () (at Assets/Static Libraries/Information.cs:18)
  WorldScript.Awake () (at Assets/WorldScript.cs:16)
  </code></pre>