Response filter not writing header information

  • Thread starter Thread starter Jiho Han
  • Start date Start date
J

Jiho Han

I created a module that filters the response stream so that it writes out to
a file as well.
The only problem is that I would also like to capture the header information
but I don't see a way to do this. I only see AddHeader but nothing like
Headers collection or GetHeader or a some kind of switch that once ticked,
writes out headers as well.

Does anyone know?
Thanks.
 
Jiho Han said:
I created a module that filters the response stream so that it writes out to
a file as well.
The only problem is that I would also like to capture the header information
but I don't see a way to do this. I only see AddHeader but nothing like
Headers collection or GetHeader or a some kind of switch that once ticked,
writes out headers as well.

The headers aren't actually part of the response stream. In fact, they don't
exist anywhere you can get at them until after the request is complete.
 
Back
Top