title: How to use node-formidable with express.bodyParser() and response.write()
body: <p>I am using node-formidable to upload multipart/formdata . Everything works fine as long as I </p>
  
  <p>comment the line :</p>
  
  <pre><code>//app.use(express.bodyParser());
  </code></pre>
  
  <p>But the problem is that I want to implement a progress bar on the client side.
  For that I am trying to do something like this : </p>
  
  <pre><code>form.on('progress',function(a,b){
   response.write() //Gives error saying Can't set headers after they have been sent
  })
  </code></pre>
  
  <p>when I use the express bodyParser() res.write() works perfectly .</p>
  
  <p>PS:I know this can be done using socket.io, but I dont think that is an elegant solution .</p>
  
  <p>Is there a way to use response.write() and at the same time use formidable ?</p>
  
  <p>Thank you.</p>