UnityHTTP icon indicating copy to clipboard operation
UnityHTTP copied to clipboard

Cannot convert type `System.Collections.Generic.KeyValuePair<string,string>' to `System.Collections.DictionaryEntry'

Open middleJack opened this issue 10 years ago • 0 comments

Assets/Plugins/UnityHTTP-master/src/Request.cs(80,13): error CS0030: Cannot convert type System.Collections.Generic.KeyValuePair<string,string>' toSystem.Collections.DictionaryEntry'

Fixed it by replacing: foreach ( DictionaryEntry entry in form.headers )

for: foreach ( KeyValuePair<string, string> entry in form.headers )

BTW: Why is this library overwriting JSON class?

middleJack avatar May 24 '15 14:05 middleJack