Commit 26d8b8c5 authored by Gerd Stolpmann's avatar Gerd Stolpmann

WWW-Authenticate header: if there are several such headers, do not

merge them (not all clients support that), but simple generate several
header lines
parent d29b90ad
......@@ -1834,7 +1834,8 @@ module Header = struct
)
let set_www_authenticate mh fields =
mh # update_field "WWW-Authenticate" (mk_challenges fields)
let mfields = List.map (fun field -> mk_challenges [field]) fields in
mh # update_multiple_field "WWW-Authenticate" mfields
let get_proxy_authenticate mh =
mark_many_decoded
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment