lib/mechanize/test_case/ntlm_servlet.rb in mechanize-2.7.7 vs lib/mechanize/test_case/ntlm_servlet.rb in mechanize-2.8.0
- old
+ new
@@ -1,4 +1,5 @@
+# frozen_string_literal: true
class NTLMServlet < WEBrick::HTTPServlet::AbstractServlet
def do_GET(req, res)
if req['Authorization'] =~ /^NTLM (.*)/ then
authorization = $1.unpack('m*').first