We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 085b2f8 commit 943b2eeCopy full SHA for 943b2ee
1 file changed
apps/epp_proxy/src/epp_http_client.erl
@@ -45,8 +45,7 @@ handle_args(#epp_request{method = get, url = URL,
45
handle_args(#epp_request{method = post, url = URL,
46
payload = Payload, headers = Headers,
47
cookies = Cookies}) ->
48
- [post, URL, Headers, Payload,
49
- hackney_options(Cookies)].
+ [post, URL, Headers, Payload, hackney_options(Cookies)].
50
51
%% Map request and return values.
52
request_from_map(#{command := ?errorCommand,
@@ -85,9 +84,9 @@ request_from_map(#{command := Command,
85
84
%% Get hackney options
86
hackney_options(Cookies) ->
87
case application:get_env(epp_proxy, insecure) of
88
- false -> [{cookies, Cookies}, insecure];
89
- _ -> [{cookies, Cookies}]
90
- end.
+ false -> [{cookies, Cookies}, insecure];
+ _ -> [{cookies, Cookies}]
+ end.
91
92
%% Return form data or an empty list.
93
request_body(?helloCommand, _, _) -> "";
0 commit comments