in reply to Forcing LWP authentication
Send the Authorization header with every request. You don't have to wait for the server to challenge you (and for those of you who think that, recall that HTTP is a stateless protocol). From RFC 2616, Section 14.8 (I added the emphasis):
A user agent that wishes to authenticate itself with a server--usually, but not necessarily, after receiving a 401 response--does so by including an Authorization request-header field with the request.
You don't have to force LWP to do it; it sounds like the ATOM client needs to know to do it.
It's difficult to point to any concrete fixes without code though.
Update: added the extract from RFC 2616
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Forcing LWP authentication
by drewbie (Chaplain) on Oct 23, 2006 at 13:45 UTC |