Python 如何在window.open()中传递授权承载令牌头?

Python 如何在window.open()中传递授权承载令牌头?,python,jquery,django-templates,window.open,request-headers,Python,Jquery,Django Templates,Window.open,Request Headers,我需要从父窗口(在中运行)传递授权承载令牌头http://localhost:5001)到子窗口(正在运行)http://localhost:5000)在jquery的window.open()中使用 jQuery(document).ready(function(){ var width = "600"; var height = "800"; var left = (screen.width / 2) - (width / 2); va

我需要从父窗口(在中运行)传递授权承载令牌头http://localhost:5001)到子窗口(正在运行)http://localhost:5000)在jquery的window.open()中使用

jQuery(document).ready(function(){
  var width = "600";
  var height = "800";
  var left = (screen.width / 2) - (width / 2);
  var top = (screen.height / 2) - (height / 2);
  var pop_win = window.open('http://localhost:5000', '_system', 'width=' + width + ', height=' + height + ', top=' + top + ', left=' + left);
})
需要在中添加授权承载令牌头http://localhost:5001 把它放进去http://localhost:5000

如何实现