express-http-proxy
express-http-proxy copied to clipboard
Allow for async host functions.
@ConnorWhite huh, now these are broken out, I see we're missing test for these cases. I'll try to pick them up in the next day or so, or if you want to add tests I'll accept the commit then. Thanks!
Hi, first off thanks for all your help. Is this PR merged into master? Is there no way to get async host resolution for now?
TypeError: Cannot read property 'request' of undefined
node_modules\express-http-proxy\app\steps\sendProxyRequest.js:13:51
I met the same problem,TypeError, when I wanna use proxy to change req headers,this is the detail infos:
TypeError: Cannot read property 'request' of undefined
at /node_modules/[email protected]@express-http-proxy/app/steps/sendProxyRequest.js:13:51
at new Promise (
and check the console-term, it shows: node_modules/send/index.js:1038 return typeof res.headersSent !== 'boolean' ^
TypeError: Cannot read property 'headersSent' of undefined