You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a small note here (that follows one of the points of the issue #501): the duplicate headers are in reversed order (for a given header, the last added value is the first one written). That is an issue for the transfer-encoding header as this order is the one in which the corresponding transformations are applied to the body.
Example:
openHeaderlet h = of_list ["transfer-encoding", "gzip"; "transfer-encoding", "chunked"];;
print_endline (to_string h);;
(* transfer-encoding: chunked transfer-encoding: gzip *)
print_endline (match get h "transfer-encoding"withNone ->""|Somev -> v);;
(* chunked,gzip *)