any idea why this one is generating error ?

request.setRequestHeader("User-Agent", "Mozilla/5.0 (Windows;
U;WindowsNT 5.1; en-US)");

On 26 nov, 11:08, "Hamilton Lima (athanazio)"
<[email protected]> wrote:
> I'm invoking an URL of surfaid services and in order to have unique
> users visits to the gadget, I asked to have a cookie from their server
> with an ID, this ID is sent in a cookie that I can see in the browser,
> but for any reason when I look at the content of getAllResponseHaders
> ()
>
> I only have this
> ETag: "31aaf3-2b-a5c81880"
> Content-Length: 43
> P3P: CP="NOI DSP COR CURa PSDa OUR NOR NAV STA"
> Content-Type: image/gif
> X-Cache: HIT from squidrj.brq.com
> X-Cache-Lookup: HIT from squidrj.brq.com:8080
> Expires: Fri, 25 Dec 2009 11:02:08 GMT
> Last-Modified: Fri, 27 Aug 2004 15:48:34 GMT
>
> no cookies ...
> I tried to change the User-Agent but got an error when I do
>                 var request = new XMLHttpRequest();
>                 request.setRequestHeader("User-Agent", "Mozilla/5.0 (Windows; 
> U;
> WindowsNT 5.1; en-US)");
>
> any idea ?

--

You received this message because you are subscribed to the Google Groups 
"Google Desktop Developer Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-desktop-developer?hl=en.


Reply via email to