Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web开发环境 监听 hooks获取不到请求headers #53

Open
xflihaibo opened this issue Jun 16, 2020 · 1 comment
Open

web开发环境 监听 hooks获取不到请求headers #53

xflihaibo opened this issue Jun 16, 2020 · 1 comment

Comments

@xflihaibo
Copy link

http://192.168.100.31:3900/sockjs-node/info?t=1592310883411
xhr-proxy.js 70

xhr.resHeader = response.headers;=> xhr.resHeader = response.headers||{};
就可以了

@wangmeijian
Copy link

wangmeijian commented Aug 19, 2020

是response undefined 不是headers undefined

Uncaught TypeError: Cannot read property 'headers' of undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants