I’m loveing it!
let canonicalize_headers (headers: WebHeaderCollection) = String.concat "" ( Array.map (fun (x : string) -> String.Format("{0}:{1}\n", x.ToLower(), headers.Get(x))) ( Array.sort ( Array.filter (fun (x : string) -> x.StartsWith("x-ms-")) headers.AllKeys ) ) )
Метки: Azure, F#, FunctionalAzure, LISP, Microsoft Azure