erlcloud / lhttpc

lhttpc is a lightweight HTTP/1.1 client implemented in Erlang.
Other
1 stars 19 forks source link

Update for deprecated http_uri:decode #25

Closed ldgabbay closed 3 months ago

ldgabbay commented 2 years ago

lhttpc uses http_uri:decode which has been deprecated since OTP 23 and will be removed in OTP 25. This patch replaces http_uri:decode with uri_string:percent_decode for OTP 24 and above.

dw-kihara commented 4 months ago

For some reason, http_uri:decode remains in OTP 27. However, since it is still deprecated, I hope this pull request gets merged. Thank you.