delete unneeded code
This commit is contained in:
parent
aa2bb5701a
commit
850a2c6d68
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user