Skip to content

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

Description

@middleJack

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions