Response filter not writing header information

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.
 
J

John Saunders

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top