Hi Geoff,
I couldn't reproduce this issue on 1.5.3 or 1.6.2 with the code snippet
below. Are you doing anything differently that might bring up the issue you
saw on IE6?

public void onModuleLoad() {
  RequestBuilder rb = new RequestBuilder(RequestBuilder.GET,"data.xml");
  rb.setUser("sumit");
  rb.setPassword("password");

  try {
    rb.sendRequest("Some good data", new RequestCallback() {
      public void onError(Request request, Throwable exception) {
        Window.alert("Error occurred: " + exception.getMessage());
      }

      public void onResponseReceived(Request request, Response response) {
        Window.alert(response.getText());
      }

    });
  } catch(RequestException re) {
      Window.alert("Request exception\n\n" + re.getMessage());
  }
}

Hope that helps,
-Sumit Chandel

On Thu, Mar 19, 2009 at 3:31 PM, Geoff <[email protected]> wrote:

>
> I've encountered an issue with the RequestBuilder that only crops up
> on IE6. If I set a username and password using RequestBuilder.setUser
> () and RequestBuilder.setPassword(), and then call
> RequestBuilder.sendRequest(), my onResponseReceived() immediately gets
> called with a Response object that has a status code of zero, no
> status message, and no response text. On all other browsers, the
> expected response to download an XML document is received. I've had to
> temporarily resort to not setting the user and password in my request
> and letting the browser pop up its authentication dialog, which then
> produces a valid Response object.
>
> Any ideas as to what's going on here? Have I stumbled on a bug?
> Something to look forward to in 1.6?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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