✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
📊 Dash 2.0 is Arriving. Register here.

How to add additional Header to all Requests (or at least to a Button)?


I want to run a Dash application on a platform that - for security reasons - wants me to send an additional Header with each request made by Dash (such as clicking on a Button).

Technically the platform sets a cookie and wants me to send the content of the cookie in the request header.

Unfortunately I did not find any Example how to do this with Dash (or Flask or React.js).

Thanks in Advance

This isn’t possible right now but we’re planning on adding support for this. This issue in particular has been sponsored by an organization, so we are looking at getting it in by around September. You can follow the progress here: https://github.com/plotly/dash-renderer/issues/65