Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: How does a www server know it's not a web client?

www.cryer.info
Managed Newsgroup Archive

Re: How does a www server know it's not a web client?

Subject:Re: How does a www server know it's not a web client?
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Mon, 7 Aug 2006 11:45:39

"Vincent Delporte" <justask@acme.com> wrote in message
news:2b5bd2pg9v19j6268dq8vppveokvmhgo7g@4ax.com...

> How does a server tell the difference?

Web browser's identify themselves by including the 'User-Agent' header in
their request.  You can use TIdHTTP's Request.UserAgent property to mimic
the ID of any web browser.  Programs like GetRight do this, for instance.
Some web servers provide browser-specific content, so they look for the
'User-Agent' header.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive