Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Can I use LWP to determine the remote OS?

by arthas (Hermit)
on Jun 12, 2003 at 21:23 UTC ( [id://265509]=note: print w/replies, xml ) Need Help??


in reply to Can I use LWP to determine the remote OS?

You can have a look at the headers of the server response, however the information will not be complete, and might even be bogus.

Anyhow, the Server header looks something like this (tried on perl.com):

Server: Apache/1.3.26 (Unix) PHP/4.2.1 mod_gzip/1.3.19.1a mod_perl/1.2 +7

...so you can guess it's Unix in this case. This is the header for perl.it:

Server: Apache/1.3.27 (Win32)

Hope this helps!

Michele.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://265509]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-16 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found