Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add xsrf exception to Tensorboard POST requests.
Expand xsrf_cookie exceptions, normally only applied to GET and HEAD requests in the IPythonHandler, to POST requests in TensorboardHandler. Provides support for hparams plugin, which uses POST to retrieve experiment information but can't be trivially extended to include xsrf information in these POST requests. Mirrors existing IPythonHandler behavior, falling back to Referer header rather than form parameters.
- Loading branch information