Copyright © (C) 1999-2013, Erlang Solutions Ltd
Authors: Oscar Hellström (oscar@hellstrom.st), Diana Parra Corbacho (diana.corbacho@erlang-solutions.com), Ramon Lastres Guerrero (ramon.lastres@erlang-solutions.com).
format_request/6 | |
get_value/2 | Gets value from tuple list. |
get_value/3 | Gets value from tuple list. |
header_value/2 |
Returns the value associated with the Header in Headers . |
host_header/2 | |
is_close/1 | Compares header values to pre-defined values Faster than string:to_lower and then compare. |
parse_url/1 | |
to_lower/1 | Converts characters in a string ro lower case. |
format_request(Path, Method, Hdrs::Headers, Host, Body, Cookies) -> Request
get_value(Key, List) -> term()
Gets value from tuple list
get_value(Key, List, Default) -> term()
Gets value from tuple list. If it is not present, returns default value.
header_value(Hdr::Header, Hdrs::Headers) -> undefined | term()
Returns the value associated with the Header
in Headers
.
Header
must be a lowercase string, since every header is mangled to
check the match.
host_header(Host::host(), Port::port_num()) -> any()
is_close(C) -> any()
Compares header values to pre-defined values Faster than string:to_lower and then compare
parse_url(URL) -> fusco_url()
to_lower(String::string()) -> string()
Converts characters in a string ro lower case.
Generated by EDoc, May 17 2017, 09:28:02.