lib/httpx/plugins/auth.rb in httpx-1.1.3 vs lib/httpx/plugins/auth.rb in httpx-1.1.4
- old
+ new
@@ -5,10 +5,10 @@
#
# This plugin adds a shim +authorization+ method to the session, which will fill
# the HTTP Authorization header, and another, +bearer_auth+, which fill the "Bearer " prefix
# in its value.
#
- # https://gitlab.com/os85/httpx/wikis/Auth#authorization
+ # https://gitlab.com/os85/httpx/wikis/Auth#auth
#
module Auth
module InstanceMethods
def authorization(token)
with(headers: { "authorization" => token })