I've debugged the problem to an infinite loop when trying to set the Via
header on the request that the proxy sends to the back-end server. This
infinite loop is not triggered when Redirector removes the headers
becuase HttpInboundRequest.getRecipientsInfo() has a "getHeaders() !=
null" check.
I don't have time to look at this, unfortunately.
I have Basic auth working with outbound redirection. I *don't *change the
way the headers are removed, but I do remove the challenge response.
// From my Redirector subclass:
@Override
protected void outboundServerRedirect(
Hi again,
My next try was to remove all original headers (like default implementation do)
and then preserver only Authentication header.
So I replaced this line:
https://github.com/restlet/restlet-framework-java/blob/2.2/modules/org.restlet/src/org/restlet/routing/Redirector.java#L407
with cal
3 matches
Mail list logo