Listning to port 80?

Hello there,

I want to receive all the response headers I get from any browser I have
on my computer?

Could socket class handle that? or must I develop something like proxy
server to do the job?

Can somebody point me in the right direction please?

Thanks
Regards,
Jamal

Are you looking to just browse them, or actually use them in a program?

Firefox has a great extension if you are looking to do the former -
It’s called LiveHttpHeaders.

Scott

Use WEBrick to serve up a resource on localhost. Dump the HTTPrequest
when
it comes in, it’ll contain all the headers.

Access the local resource with any of your browsers, look at the dump
from
the script.

Scott T. wrote:

Are you looking to just browse them, or actually use them in a program?

Firefox has a great extension if you are looking to do the former -
It’s called LiveHttpHeaders.

Scott

I actually want to develop something similar to livehttpheaders using
Ruby…

I managed to find:

Monitoring network traffic with Ruby and Pcap

But it only works with Linux not windows :frowning: