1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/webrick/httpauth/basicauth.rb: fix a typo.

[ci skip][fix GH-1099] Patch by @jwworth
* lib/webrick/httpauth/digestauth.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2015-11-16 03:11:20 +00:00
parent 4ea616b387
commit ab23398461
3 changed files with 8 additions and 4 deletions

View file

@ -89,8 +89,7 @@ module WEBrick
end
##
# Returns a challenge response which asks for for authentication
# information
# Returns a challenge response which asks for authentication information
def challenge(req, res)
res[@response_field] = "#{@auth_scheme} realm=\"#{@realm}\""

View file

@ -128,8 +128,7 @@ module WEBrick
end
##
# Returns a challenge response which asks for for authentication
# information
# Returns a challenge response which asks for authentication information
def challenge(req, res, stale=false)
nonce = generate_next_nonce(req)