:- use_module(library(http/http_header)). [semidet]http_parse_header_value(+Field, 
+Value, -Prolog)
[semidet]http_parse_header_value(+Field, 
+Value, -Prolog)set_cookie(Name, Value, Options). 
Options is a list consisting of Name=Value or a single atom 
(e.g., secure)bytes(From, To), where From is an integer 
and To is either an integer or the atom end.media(Type, TypeParams, Quality, AcceptExts). The list is 
sorted according to preference.disposition(Name, Attributes), where Attributes 
is a list of Name=Value pairs.media(Type/SubType, Attributes), where 
Attributes is a list of Name=Value pairs.As some fields are already parsed in the Request, this predicate is a no-op when called on an already parsed field.
| Value | is either an atom, a list of codes or an already parsed header value. |