From 1b6100314effadab19ef6c4c8fc4d313af50dd0e Mon Sep 17 00:00:00 2001 From: Eduardo Gurgel Date: Mon, 30 Sep 2019 21:03:46 +1300 Subject: [PATCH] Update README.md [ci skip] --- README.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index cc11406..2ce3317 100644 --- a/README.md +++ b/README.md @@ -5,16 +5,6 @@ HTTP client for Elixir, based on [HTTPotion](https://github.com/myfreeweb/httpotion) ([documentation](http://hexdocs.pm/httpoison/)). -## Note about broken ssl in Erlang 19 -Until this [issue](https://bugs.erlang.org/browse/ERL-192) is fixed ssl handshakes may fail. If you receive this error: -``` -{:error, %HTTPoison.Error{id: nil, reason: :closed}} -``` -Try the following fix: -```elixir -HTTPoison.get("https://example.com/", [], [ ssl: [{:versions, [:'tlsv1.2']}] ]) -``` - ## But... why something so similar to HTTPotion? HTTPoison uses [hackney](https://github.com/benoitc/hackney) to execute HTTP requests instead of ibrowse. I like hackney :thumbsup: @@ -28,7 +18,7 @@ First, add HTTPoison to your `mix.exs` dependencies: ```elixir def deps do [ - {:httpoison, "~> 1.5"} + {:httpoison, "~> 1.6"} ] end ``` @@ -292,7 +282,7 @@ For more complex queries regarding multipart response parsing, you should follow ## License - Copyright © 2013-2014 Eduardo Gurgel + Copyright © 2013-2019 Eduardo Gurgel This work is free. You can redistribute it and/or modify it under the terms of the MIT License. See the LICENSE file for more details.