Skip to content

httpHeaders are not set correctly #45

@Bonfra04

Description

@Bonfra04

The VideoPlayerController.network constructor accepts an httpHeaders paramether; Setting, for example, the User-Agent to something specific is not reflected in the HTTP request made by the controller.

As an example, invoking the constructor like this:

VideoPlayerController.networkUrl(uri,
    httpHeaders: {"User-Agent": "FOOBAR"}
);

results anyway in an HTTP call with User-Agent set to NSPlayer/12.00.19041.5007 WMFSDK/12.00.19041.5007

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