Re: [twsocket] THttpCli ID
Francois Piette wrote: >> I heard servers can keep track of what software/browser accesses them. >> I use THttpCli to download files from servers, how can I add this ID >> so servers recognize my software? > > It is the THttpCli.Agent property. > By default the value is 'Mozilla/4.0 (compatible; ICS)' > You can change it to whatever you need, for example make the server think > it has IE as client :-) If you use NTLM authentication it's sometimes required to have "MSIE 4.0" in this property as well. Some servers/proxies won't provide NTLM authentication to non-M$ browsers. It's probably a good idea having "MSIE 4.0" in the Agent-property by default also. Arno Garrels > > Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html > -- > [EMAIL PROTECTED] > Author of ICS (Internet Component Suite, freeware) > Author of MidWare (Multi-tier framework, freeware) > http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] THttpCli ID
Learned something new, thanks! Mike On 1/9/06, Francois Piette <[EMAIL PROTECTED]> wrote: > > I heard servers can keep track of what software/browser accesses them. > > I use THttpCli to download files from servers, how can I add this ID > > so servers recognize my software? > > It is the THttpCli.Agent property. > By default the value is 'Mozilla/4.0 (compatible; ICS)' > You can change it to whatever you need, for example make the server think it > has IE as client :-) > > Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html > -- > [EMAIL PROTECTED] > Author of ICS (Internet Component Suite, freeware) > Author of MidWare (Multi-tier framework, freeware) > http://www.overbyte.be > > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] THttpCli ID
> I heard servers can keep track of what software/browser accesses them. > I use THttpCli to download files from servers, how can I add this ID > so servers recognize my software? It is the THttpCli.Agent property. By default the value is 'Mozilla/4.0 (compatible; ICS)' You can change it to whatever you need, for example make the server think it has IE as client :-) Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] THttpCli ID
Use the Agent property. It add's this ID in the section. There are lots of possible combinations. You can search the net for 'Http user agent', but I haven't found an 'official' list myself :-) Paul - Original Message - From: "Mike Versteeg" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, January 09, 2006 9:18 AM Subject: [twsocket] THttpCli ID > Hi, > > I heard servers can keep track of what software/browser accesses them. > I use THttpCli to download files from servers, how can I add this ID > so servers recognize my software? > > Thanks, > > Mike > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be