Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

XHR options should be added and passed to vast-client #69

Open
PidaPan opened this issue Mar 19, 2015 · 2 comments
Open

XHR options should be added and passed to vast-client #69

PidaPan opened this issue Mar 19, 2015 · 2 comments

Comments

@PidaPan
Copy link

PidaPan commented Mar 19, 2015

There should be an option to define some xhr options for each vast config (or in general) and pass them to the vast-client. The current version of vast-client (not the version used within this repo) seems to offer the following options for vast requests.

  • timeout
  • withCredentials

My current problem is, that cookies will not be send with the request to a foreign vast url. I figured out that this is because of the withCredentials option which is set to false by default.

This limitation avoids e.g. any kind of cookie targeting and frequency capping using the majority of adservers.

See:

@ivmikhail
Copy link

+1

@razor1907
Copy link

I know this thread is pretty old but i can't find any solution anywhere so, anyone managed to get this cookie thing working?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants