Skip to content

Error when reusing WebRequest object #80

@dchovanec

Description

@dchovanec

When I'm trying to re-use the same WebRequest for multiple subsequent API calls. It fails with error.

I discovered that the Sub Prepare() duplicates headers every time Client.Execute() is called.
I fixed it by modifying the Prepare() with code to update the header [key,value] in case the key is already present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions