AnyEvent::HTTP and basic authentication
Ian Stuart
Ian.Stuart at ed.ac.uk
Tue Feb 1 23:37:21 CET 2011
On 01/02/2011 17:31, Marc Lehmann wrote:
> Thats exactly how one would do it, yes - I guess either your credentials
> are wrong, basic auth isn't supported by the other side, authorisation
> isn't actually the problem or that is not the code you are using.
>
> Most web servers expect a content-type header - maybe this is your
> problem? What status does the server return when you try?
Further investigation seems to show the problem is not as bad as first
thought.
I've not managed to check fully, mainly because I've not had time to set
up basic authentication points on a variety of servers.... but two
apache web servers are fine, and two tomcat servers fail.
.... more investigation is needed :(
More information about the anyevent
mailing list