浏览代码

Ignore http_uri:encode/1 deprecation warning

Switching to uri_string as the warning suggest
would ruin OTP 20 compatibility.
pull/2191/head
Michael Klishin 5 年前
父节点
当前提交
cb5558a5dc
找不到此签名对应的密钥 GPG 密钥 ID: E80EDCFA0CDB21EE
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      src/r3_hex_api.erl

+ 2
- 0
src/r3_hex_api.erl 查看文件

@ -28,6 +28,8 @@ put(Config, Path, Body) ->
delete(Config, Path) -> delete(Config, Path) ->
request(Config, delete, Path, undefined). request(Config, delete, Path, undefined).
-compile({nowarn_deprecated_function, [http_uri, encode, 1]}).
%% @private %% @private
encode_query_string(List) -> encode_query_string(List) ->
QueryString = QueryString =

正在加载...
取消
保存