youtube / spfjs

A lightweight JS framework for fast navigation and page updates from YouTube
https://youtube.github.io/spfjs/
MIT License
2.23k stars 147 forks source link

Allow custom headers to be sent with requests #390

Closed nicksay closed 8 years ago

nicksay commented 8 years ago

In addition to the standard SPF headers (e.g. X-SPF-Referer, etc); allow the client to specify custom headers to send along with requests. Like other values, these should be configurable globally for automatic navigation (i.e. via spf-link clicks) and per-request for manual navigation (i.e. via spf.navigate).