View Source http_uri (inets v9.1)

Old URI utility module, use uri_string instead

This module is deprecated since OTP 23. Use the module uri_string to properly handle URIs, this is the recommended module since OTP 21.

DATA TYPES

Type definitions that are related to URI:

  • uri_part() = [byte()] | binary() - Syntax according to the URI definition in RFC 3986, for example, "http://www.erlang.org/"

For more information about URI, see RFC 3986.

Summary

Functions

decode/1 deprecated

decode(EncodedPart) -> DecodePart

encode/1 deprecated

encode(DecodedPart) -> EncodedPart

Functions

Link to this function

decode/1

View Source (since OTP R15B01)
This function is deprecated. http_uri:decode/1 is deprecated; use uri_string:unquote function instead.

decode(EncodedPart) -> DecodePart

Warning

Do not use will be removed use uri_string:unquote/1 instead

Decodes a possibly percent encoded URI part

Link to this function

encode/1

View Source (since OTP R15B01)
This function is deprecated. http_uri:encode/1 is deprecated; use uri_string:quote function instead.

encode(DecodedPart) -> EncodedPart

Warning

Do not use will be removed use uri_string:quote/1 instead

Performes prrcent encoding.