I am using node-formidable to upload multipart/formdata . Everything works fine as long as I 

comment the line :

```
//app.use(express.bodyParser());

```

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 : 

```
form.on('progress',function(a,b){
 response.write() //Gives error saying Can't set headers after they have been sent
})

```

when I use the express bodyParser() res.write() works perfectly .

PS:I know this can be done using socket.io, but I dont think that is an elegant solution .

Is there a way to use response.write() and at the same time use formidable ?

Thank you.