Why do you I need to writeHead when piping requests?

前端 未结 0 1380
闹比i
闹比i 2020-12-10 01:53

I\'m looking at this answer on how to proxy a request through nodejs. Here\'s the code presented:

function onRequest(client_req, client_res) {
  console.log(\         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题