Module yaws_headers
This module provides functions for getting and setting
values of the Yaws 'headers' record.
Authors: Roberto Saccon (rsaccon@gmail.com).
This module provides functions for getting and setting
values of the Yaws 'headers' record. You can use these functions
instead of using the record access syntax, and without
having to include yaws_api.hrl.
As with yaws_arg, most functions have 2 variations: if it takes
1 parameter, it returns the record's value for the field, and if it
takes two parameters, it returns a new record with the field having the
new value.
accept(Arg) -> term()
accept(Arg, Val) -> term()
accept_ranges(Arg) -> term()
accept_ranges(Arg, Val) -> term()
authorization(Arg) -> term()
authorization(Arg, Val) -> term()
connection(Arg) -> term()
connection(Arg, Val) -> term()
content_length(Arg) -> term()
content_length(Arg, Val) -> term()
content_type(Arg) -> term()
content_type(Arg, Val) -> term()
cookie(Arg) -> term()
cookie(Arg, Val) -> term()
host(Arg) -> term()
host(Arg, Val) -> term()
if_match(Arg) -> term()
if_match(Arg, Val) -> term()
if_modified_since(Arg) -> term()
if_modified_since(Arg, Val) -> term()
if_none_match(Arg) -> term()
if_none_match(Arg, Val) -> term()
if_range(Arg) -> term()
if_range(Arg, Val) -> term()
if_unmodified_since(Arg) -> term()
if_unmodified_since(Arg, Val) -> term()
keep_alive(Arg) -> term()
keep_alive(Arg, Val) -> term()
new() -> term()
Create a new 'headers' record.
other(Arg) -> term()
other(Arg, Val) -> term()
range(Arg) -> term()
range(Arg, Val) -> term()
referer(Arg) -> term()
referer(Arg, Val) -> term()
user_agent(Arg) -> term()
user_agent(Arg, Val) -> term()