Search Issue Tracker

Fixed

Votes

3

Found in

4.5.0b

Issue ID

597956

Regression

No

deprecated WWW headers not in docs

-e: TomasD made this thing for 4.5 which should be reflected in the docs:

4.5 Change - Webplayer: deprecated 'WWW(string url, byte[] postData, Hashtable headers)', use 'public WWW(string url, byte[] postData, Dictionary<string, string> headers)' instead.

-repro:
--open /ScriptReference/WWW-ctor.html
--notice headers still being listed as hashtable

Comments (2)

  1. tomguinther

    Jan 06, 2015 19:54

    GSN agrees that this inconsistency is *very* annoying

  2. BossKey

    Aug 29, 2014 15:16

    I'd also like to point out that WWWForm still defines headers as a hashtable which makes the API inconsistent. To fix the deprecation warning I now have to convert form headers from a hashtable to a dictionary.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.