RE: ChallengeResponse is NULL on the server side using GWT RESTLET client 2.1RC1 (Regression??)
In class GwtHttpClientHelper, this piece of code passes the challengeresponse to the GWT request builder. But it does not build a HTTP Authorization header !! The implementation for GWT RequestBuilder is to insert username:password in the URL. public ClientCall create(Request request) { GwtClientCall result = null; try { result = new GwtClientCall(this, request.getMethod().toString(), request.getResourceRef().toString(), request .isEntityAvailable()); // If a challenge response is provided, // update the GWT request builder if (request.getChallengeResponse() != null) { result.getRequestBuilder().setUser( request.getChallengeResponse().getIdentifier()); result.getRequestBuilder().setPassword( String.valueOf(request.getChallengeResponse() .getSecret())); } } catch (Exception ioe) { System.err.println(Unable to create the HTTP client call); } return result; -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2892888
RE: Re: Serious bug in ClientResource
I have a problem that an outbound connection sends the wrong representation, it sends the representation it received from the incoming connection (GWT serialized object) while it should send JSON. see http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2892105 Might this bug be causing this problem ? -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2892924
Re: Serious bug in ClientResource
This looks like a related but different bug to me. ClientResource.wrap() doesn't seem to call AnnotationInfo.getRequestVariants(...) at all. -- Arjohn Kampman - www.aduna-software.com On 13/12/2011 13:42, Koen Maes wrote: I have a problem that an outbound connection sends the wrong representation, it sends the representation it received from the incoming connection (GWT serialized object) while it should send JSON. see http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2892105 Might this bug be causing this problem ? -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2892924 -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2892973
Re: ChallengeResponse is NULL on the server side using GWT RESTLET client 2.1RC1 (Regression??)
If you look back over the history of this mailing list, you'll see that it sometimes takes the Restlet folks several days to catch up. Silence does not mean dismissal. --tim On Tue, Dec 13, 2011 at 6:38 AM, Koen Maes k...@koma.be wrote: With the code in attached zip file setup as super-source in my GWT project, I can have Basic AUTH working super-source path=authbugfix / Is this a regression ?? I am probably a whiner again, but talking to the walls starts to get annoying very fast. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2892910 -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2892985
Re: accessing response Status from GWT client code - works in hosted mode but not production
Update: I have logged an issue for this: http://restlet.tigris.org/issues/show_bug.cgi?id=1361 http://restlet.tigris.org/issues/show_bug.cgi?id=1361 -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/accessing-response-Status-from-GWT-client-code-works-in-hosted-mode-but-not-production-tp7083856p7091436.html Sent from the Restlet Discuss mailing list archive at Nabble.com. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2893016