Fellow Monks,
I’ve been trying to find solutions to this on the internet, but Google doesn’t seem to be favouring me today.
We’ve been using LWP for some RPC access, but since it’s blocking, we’re looking into getting a non-blocking solution to work. Two modules come to my mind, HTTP::Async and AnyEvent::HTTP. We need something that works well inside a Glib loop.
What we need is a HTTPS-capable client that can authenticate (right now we use digest auth) with the server, get the thing it needs to get, and return me the contents of the result page somehow (callback, or me having to poll it — doesn’t matter as long as it does the whole TCP/TLS/HTTP mess in the background and stops my app from hiccuping every so often.
Unfortunately none of the modules mentioned come with auth support out of the box, and it doesn’t seem to be simple at all to hack it in.
Does anyone have an idea?
In reply to Asynchronous HTTP requests and (digest) authentication by Ralesk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |