Revision 2115e2a5 trunk/Pithos.Network/WebExtensions.cs

b/trunk/Pithos.Network/WebExtensions.cs
407 407

  
408 408
        public static  Dictionary<string, string> GetMeta(this HttpResponseHeaders headers,string metaPrefix)
409 409
        {
410
            if (headers == null)
411
                throw new ArgumentNullException("headers");
412
            if (String.IsNullOrWhiteSpace(metaPrefix))
413
                throw new ArgumentNullException("metaPrefix");
410
            Contract.Requires<ArgumentNullException>(headers!=null,"headers");
411
            Contract.Requires<ArgumentNullException>(!String.IsNullOrWhiteSpace(metaPrefix), "metaPrefix");
414 412
            Contract.EndContractBlock();
415 413

  
416 414
            var dict = (from header in headers

Also available in: Unified diff