Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set HTTP Request Header #27

Open
botivegh-trendtype opened this issue Sep 18, 2019 · 3 comments
Open

Set HTTP Request Header #27

botivegh-trendtype opened this issue Sep 18, 2019 · 3 comments

Comments

@botivegh-trendtype
Copy link

Is there a way to set/add request header to the call?
I would need to add 'Cache-Control': "private, no-cache, no-store" .

function urlToPromise(url) { return new Promise(function(resolve, reject) { JSZipUtils.getBinaryContent(url, function(err, data) { if (err) { reject(err); } else { resolve(data); } }); }); }

@OussamaM1
Copy link

Hi , Did you find a way to do it ?

@nuno-ferrao
Copy link

I also need to set a header to the request. Would be really appreciated to get some info on this.

@Roopa-Workspace
Copy link

did anyone found solution?

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

No branches or pull requests

4 participants