[presentation-api] HTTP header customization when fetching the presentation page (#478)

mfoltzgoogle has just created a new issue for https://github.com/w3c/presentation-api:

== HTTP header customization when fetching the presentation page ==
It's possible for Web applications to add custom HTTP headers, i.e. for authentication, to resource fetch requests.   We have an internal application that is looking to load an authenticated page as a presentation receiver page with a custom header.

The Fetch API does this by allowing the application to pass a [Headers object](https://developer.mozilla.org/en-US/docs/Web/API/Headers) with a Request.

We could make a similar improvement to PresentationRequest to allow passing headers at construction time, or perhaps with `start().`

This issue is a placeholder for discussion, I can formulate a more complete explainer if there is both internal and external interest in moving forward with this change.

Please view or discuss this issue at https://github.com/w3c/presentation-api/issues/478 using your GitHub account

Received on Friday, 24 April 2020 23:25:04 UTC