From 850a2c6d68543eaca475fe185d8cbb508fa8db96 Mon Sep 17 00:00:00 2001 From: Kanezoh Date: Sun, 2 May 2021 13:01:44 +0900 Subject: [PATCH] delete unneeded code --- src/mechanize.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mechanize.cr b/src/mechanize.cr index fe9ec03..f12ed82 100644 --- a/src/mechanize.cr +++ b/src/mechanize.cr @@ -7,7 +7,7 @@ class Mechanize @agent = MechanizeCr::HTTP::Agent.new end - def get(uri : String | URI, headers = headers = HTTP::Headers.new) + def get(uri : String | URI, headers = HTTP::Headers.new) method = :get page = @agent.fetch uri, method, headers #add_to_history(page)