diff --git a/src/mechanize.cr b/src/mechanize.cr index d728b10..bbec91a 100644 --- a/src/mechanize.cr +++ b/src/mechanize.cr @@ -1,3 +1,5 @@ +require "uri" +require "http/client" require "lexbor" require "./mechanize/http/agent" require "./mechanize/form" diff --git a/src/mechanize/file.cr b/src/mechanize/file.cr index 9ec0b40..be8436c 100644 --- a/src/mechanize/file.cr +++ b/src/mechanize/file.cr @@ -1,5 +1,3 @@ -require "http/client" - class Mechanize abstract class File # property :filename diff --git a/src/mechanize/http/agent.cr b/src/mechanize/http/agent.cr index 1cb1458..e0d9461 100644 --- a/src/mechanize/http/agent.cr +++ b/src/mechanize/http/agent.cr @@ -1,5 +1,3 @@ -require "uri" -require "http/client" require "../cookie" require "../history"