Digest Auth for http_request resource


#1

Hello All,

I have a system I’m wanting to configure via http requests that uses digest authentication.

I’m wondering if the http_request resource supports digest authentication?

If not is there another resource I can use?
A way to extend http_resource?

I’ve written a ruby http client client using net/http and net/http/digest_auth but it was very painful.
I’d much rather use a simpler built-in solution.

What would you recommend?


#2

It doesn’t have built-in functionality but you could construct the digest headers yourself and pass them into the headers parameter of the http_request resource.