You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-24Lines changed: 4 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,33 +18,13 @@ def deps do
18
18
end
19
19
```
20
20
21
-
and run `$ mix deps.get`. Add `:httpoison` to your applications list if your Elixir version is 1.3 or lower:
22
-
23
-
```elixir
24
-
defapplicationdo
25
-
[applications: [:httpoison]]
26
-
end
27
-
```
28
-
21
+
and run `$ mix deps.get`.
29
22
30
23
## Upgrading to 2.x.x
31
24
32
-
The main change that caused a major version is that `ssl` option now _merges_ with the default options where previously it would override the ssl options. The new option `ssl_override` was added to allow people to keep the previous behaviour but it's more explicit now.
25
+
The main change that caused a major version is that `ssl` option now _merges_ with the default options where previously it would override the ssl options. The new option `ssl_override` was added to allow people to keep the previous behaviour but it's more explicit now.
The default SSL options can be found on [hackney's codebase](https://github.com/benoitc/hackney/blob/befe2df2080704824487c3c0201417d0ddb3c686/src/hackney_connection.erl#L115-L148) as we simply use `:hackney_connections.merge_ssl_opts/2`
48
28
49
29
More context here: https://github.com/edgurgel/httpoison/pull/466
50
30
@@ -254,7 +234,7 @@ From the already linked [hackney's readme](https://github.com/benoitc/hackney#us
254
234
255
235
#### Disabling pool
256
236
257
-
If you don't want to use a pool for a single http request, you can do it by passing an option:
237
+
If you don't want to use a pool for a single http request, you can do it by passing an option:
0 commit comments