Jochen Bedersdorfer
Jochen Bedersdorfer
A bit late for a reply, but you could create your own Resty option that changes the header. ``` class OverrideAccept extends Resty.Option { @Override public void apply(URLConnection aConnection) {...
thanks, will add it
Do you have an example where it doesn't work? r.authenticate expects an URL prefix that is matched exactly. Resty will send the authentication headers for any URL that starts with...
Thank you for trying Resty. The problem is that sometimes the request URL for an authentication is null, which is unexpected. I need to work around this issue somehow. Thank...
Todd, what version of Java are you using? > > org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getAuthorizationCredentials( > > is not a Sun Java class. > > I suspect we are dealing with a compatibility problem...
The current head version has a new call Resty.authenticateForRealm which allows you to set login/password for the HTTP realm send by the server. (The realm can be found in header...
Hi Jared, If there a stack trace that shows the Resty class/line number affected? i.e. if toObject() would throw the exception I would expect to see that in the stack...
Wonderful! Thank you. I'll have a look
Sounds good! --- From: davidekholm [email protected] To: beders/Resty [email protected] Sent: Friday, September 6, 2013 8:34 AM Subject: [Resty] Ability to read content after throwing exception (#29) As you may know,...
Hmm, maybe there is way to remove this dependency when generating the parser. I’ll have a look. > On Jul 21, 2015, at 2:27 AM, Peter G. Williams [email protected] wrote:...