yup, just set the user agent header via the HTTPSocket.setRequestHeader method prior to sending the request

HTTPSocketip.setRequestHeader("User-agent", "MyApp")
HTTPSocketip.setFormData form
HTTPSocketip.post "http://www.server.com/script.php";

-jason
On Apr 8, 2006, at 6:53 PM, Christian Leicht wrote:

Hello, iam sending a http request to a webserver. In the Apache acces_log this request are from an unkown Agent.

Is ist possible to set a own UserAgent in the Request ?


Thanks for help

Christian


Dim form as Dictionary
form = New Dictionary
form.value("function") = "blaa"

//form.Value("User-Agent:") = "MyApp"
HTTPSocketip.setFormData form
HTTPSocketip.post "http://www.server.com/script.php

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to