Amitabh,
Have you tried one the examples from the docs?

http://code.google.com/search/#p=webtoolkit&q=requestbuilder%20response.getText

Have tired using IeHttpHeaders browser plugin (or Charles Web Proxy) to
confirm that there is data being sent back from the server as you expect?

For IE7, "ie6" is currently the correct value, although you should not have
to specify any value for the user agent. GWT will auto-detect. In fact, if
you specify an incorrect value, you'll get very strange behavior.

Fred


On Fri, Jun 26, 2009 at 11:59 AM, Amitabh <[email protected]> wrote:

>
> I'm a newbie at GWT and am using RequestBuilder to send and receive a
> request to a server which is sending me a response which has transfer
> encoding "chunked" and content encoding gzipped. In the response when
> I do "response.getText().Length()", I get a zero and I can't see the
> text. Is that because of the chunked transfer encoding in the
> response ? How do I decode the response using GWT ? I know the
> response is valid since I
> can see the response through fiddler. Is there anything out there that
> can help me decode the response ? I'm using IE7 but am specifying the
> user.agent string as "ie6" since i don't know what else to specify
> there. "ie7" doesn't work.
> Would appreciate any help in pointing me in the right direction. I
> can't find reference to it anywhere else on the web. I'm spending a
> lot of time on this issue and can't get anywhere. I'd really
> appreaciate if a a member of the group at least sends a one liner
> response stating if this is a known problem or isn't a problem ever
> heard about before or if my issue is unclear.
>
> Regards,
> Amitabh.
> >
>


-- 
Fred Sauer
[email protected]

[]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to