From: Michael Neumann Date: 2001-08-07T03:23:41+09:00 Subject: [ruby-talk:19244] Re: http: "hi, my name is"-message Tobias Reif wrote: > AFAIK: When I go to a website with Mozilla, it tells the server it's > name: Mozilla Version blah and more. > When I download stuff from a webserver with Ruby, what does Ruby tell > the server? How can I find that out? How can I customize the message? > What is the name of the message? (is it the header of the http request?) Download TCPSocketPipe by NaHi from RAA and start the contained monitor.rb application: monitor.rb 8080 www.mozilla.org 80 Now, access the page as localhost:8080 and you'll see what your client-application sends. (you should additionally put the header "Host: www.mozilla.org", sometimes this is required) Regards, Michael -- Michael Neumann merlin.zwo InfoDesign GmbH http://www.merlin-zwo.de