Method: Atom::HTTP#always_auth
- Defined in:
- lib/atom/http.rb
#always_auth ⇒ Object
when set to :basic, :wsse or :authsub, this will send an Authentication header with every request instead of waiting for a challenge from the server.
be careful; always_auth :basic will send your username and password in plain text to every URL this object requests.
:digest won’t work, since Digest authentication requires an initial challenge to generate a response
defaults to nil
134 135 136 |
# File 'lib/atom/http.rb', line 134 def always_auth @always_auth end |