Commit 78c3873d747e91ff803210a9c9694d6f4597a2e6

Stephen Moloney 2017-02-19T17:46:21

add httpipe dependencies

diff --git a/config/dev.exs b/config/dev.exs
index bac0212..6febbee 100644
--- a/config/dev.exs
+++ b/config/dev.exs
@@ -13,4 +13,7 @@ config :ex_ovh,
   hackney: [
     connect_timeout: 20000,
     receive_timeout: 180000
-  ]
\ No newline at end of file
+  ]
+
+  config :httpipe,
+    :adapter, HTTPipe.Adapters.Hackney
diff --git a/mix.exs b/mix.exs
index 18ddd15..cca96a0 100644
--- a/mix.exs
+++ b/mix.exs
@@ -30,6 +30,8 @@ defmodule ExOvh.Mixfile do
       {:og, "~> 0.1"},
       {:poison, "~> 1.5 or ~> 2.0 or ~> 3.0"},
       {:hackney, "~> 1.0"},
+      {:httpipe, "~> 0.9"},
+      {:httpipe_adapters_hackney, "~> 0.9"},
       {:floki, ">= 0.7.0"},
 
       {:markdown, github: "devinus/markdown", only: :dev},
diff --git a/mix.lock b/mix.lock
index a6e2170..9201a9d 100644
--- a/mix.lock
+++ b/mix.lock
@@ -5,13 +5,13 @@
   "floki": {:hex, :floki, "0.14.0", "91a6be57349e10a63cf52d7890479a19012cef9185fa93c305d4fe42e6a50dee", [:mix], [{:mochiweb, "~> 2.15", [hex: :mochiweb, optional: false]}]},
   "hackney": {:hex, :hackney, "1.6.5", "8c025ee397ac94a184b0743c73b33b96465e85f90a02e210e86df6cbafaa5065", [:rebar3], [{:certifi, "0.7.0", [hex: :certifi, optional: false]}, {:idna, "1.2.0", [hex: :idna, optional: false]}, {:metrics, "1.0.1", [hex: :metrics, optional: false]}, {:mimerl, "1.0.2", [hex: :mimerl, optional: false]}, {:ssl_verify_fun, "1.1.1", [hex: :ssl_verify_fun, optional: false]}]},
   "hoedown": {:git, "https://github.com/hoedown/hoedown.git", "980b9c549b4348d50b683ecee6abee470b98acda", []},
-  "httpoison": {:hex, :httpoison, "0.11.0", "b9240a9c44fc46fcd8618d17898859ba09a3c1b47210b74316c0ffef10735e76", [:mix], [{:hackney, "~> 1.6.3", [hex: :hackney, optional: false]}]},
+  "httpipe": {:hex, :httpipe, "0.9.0", "4db66493b0ec2a86d142ea959a62e221d6ddb23ab48a676b691be3a16c38a415", [:mix], []},
+  "httpipe_adapters_hackney": {:hex, :httpipe_adapters_hackney, "0.9.0", "de005d5607cbdc30a8cb71f3aa4420b6810455d0cdcfbc63ec039a4b93ba157b", [:mix], [{:hackney, "~> 1.6.0", [hex: :hackney, optional: false]}, {:httpipe, "~> 0.9.0", [hex: :httpipe, optional: false]}]},
   "idna": {:hex, :idna, "1.2.0", "ac62ee99da068f43c50dc69acf700e03a62a348360126260e87f2b54eced86b2", [:rebar3], []},
   "markdown": {:git, "https://github.com/devinus/markdown.git", "38dc74c88d52fd7569ad4f63d32b344d35a7fcce", []},
   "metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], []},
   "mimerl": {:hex, :mimerl, "1.0.2", "993f9b0e084083405ed8252b99460c4f0563e41729ab42d9074fd5e52439be88", [:rebar3], []},
   "mochiweb": {:hex, :mochiweb, "2.15.0", "e1daac474df07651e5d17cc1e642c4069c7850dc4508d3db7263a0651330aacc", [:rebar3], []},
-  "morph": {:hex, :morph, "0.1.0", "d00baf76bcd05f10e3393931bda9f127735d721738024a865b84932e063e6abd", [:mix], []},
   "og": {:hex, :og, "0.1.0", "e21cbb6fd0130a43308f922b482b83bcf03000a154af633e3b98445147ea737b", [:mix], []},
   "poison": {:hex, :poison, "3.1.0", "d9eb636610e096f86f25d9a46f35a9facac35609a7591b3be3326e99a0484665", [:mix], []},
   "ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.1", "28a4d65b7f59893bc2c7de786dec1e1555bd742d336043fe644ae956c3497fbe", [:make, :rebar], []},