delete unneeded code

master
Kanezoh 2021-05-02 13:01:44 +09:00
parent aa2bb5701a
commit 850a2c6d68
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class Mechanize
@agent = MechanizeCr::HTTP::Agent.new @agent = MechanizeCr::HTTP::Agent.new
end end
def get(uri : String | URI, headers = headers = HTTP::Headers.new) def get(uri : String | URI, headers = HTTP::Headers.new)
method = :get method = :get
page = @agent.fetch uri, method, headers page = @agent.fetch uri, method, headers
#add_to_history(page) #add_to_history(page)