檢視原始碼 http_uri (inets v9.3.1)

舊的 URI 工具模組,請改用 uri_string

此模組已在 OTP 23 中棄用。請使用模組 uri_string 來正確處理 URI,這是自 OTP 21 以來推薦使用的模組。

資料型別

與 URI 相關的型別定義

有關 URI 的更多資訊,請參閱 RFC 3986

摘要

函式

解碼可能經過百分比編碼的 URI 部分

encode(Data) 已棄用

執行百分比編碼。

函式

連結至此函數

decode(QuotedData)

檢視原始碼 (自 OTP R15B01 起)
此函數已棄用。http_uri:decode/1 已棄用;請改用 uri_string:unquote 函數。
-spec decode(QuotedData) -> Data when QuotedData :: unicode:chardata(), Data :: unicode:chardata().

解碼可能經過百分比編碼的 URI 部分

警告

請改用 uri_string:unquote/1

連結至此函數

encode(Data)

檢視原始碼 (自 OTP R15B01 起)
此函數已棄用。http_uri:encode/1 已棄用;請改用 uri_string:quote 函數。
-spec encode(Data) -> QuotedData when Data :: unicode:chardata(), QuotedData :: unicode:chardata().

執行百分比編碼。

警告

請改用 uri_string:quote/1