kevva / download

Download and extract files
MIT License
1.28k stars 200 forks source link

Custom HTTP header #34

Closed jviotti closed 9 years ago

jviotti commented 9 years ago

I'm trying to download a resource which required authentication via a token in an HTTP header.

Is there a way to inject an HTTP header before triggering the download?

kevva commented 9 years ago

https://github.com/request/request#requestoptions-callback.