Module ibrowse_lib

Module with a few useful functions.

Description

Module with a few useful functions

Function Index

dec2hex/2dec2hex taken from gtk.erl in std dist M = integer() -- number of hex digits required N = integer() -- the number to represent as hex.
decode_rfc822_date/1
drv_ue/1
drv_ue/2
status_code/1Given a status code, returns an atom describing the status code.
url_encode/1URL-encodes a string based on RFC 1738.

Function Details

dec2hex/2

dec2hex(M::integer(), N::integer()) -> string()

dec2hex taken from gtk.erl in std dist M = integer() -- number of hex digits required N = integer() -- the number to represent as hex

decode_rfc822_date/1

decode_rfc822_date(String) -> term()

drv_ue/1

drv_ue(Str) -> term()

drv_ue/2

drv_ue(Str, Port) -> term()

status_code/1

status_code(StatusCode::status_code()) -> StatusDescription

Given a status code, returns an atom describing the status code.

url_encode/1

url_encode(Str) -> UrlEncodedStr

URL-encodes a string based on RFC 1738. Returns a flat list.