lib/httpx/plugins/authentication.rb in httpx-0.21.1 vs lib/httpx/plugins/authentication.rb in httpx-0.22.0
- old
+ new
@@ -4,10 +4,10 @@
module Plugins
#
# This plugin adds a shim +authentication+ method to the session, which will fill
# the HTTP Authorization header.
#
- # https://gitlab.com/honeyryderchuck/httpx/wikis/Authentication#authentication
+ # https://gitlab.com/os85/httpx/wikis/Authentication#authentication
#
module Authentication
module InstanceMethods
def authentication(token)
with(headers: { "authorization" => token })