Revision dd5f5163 trunk/Pithos.Network/WebExtensions.cs

b/trunk/Pithos.Network/WebExtensions.cs
319 319
                        throw innerException ?? new RetryException();                        
320 320
                    else
321 321
                        //Otherwise force the exception that corresponds to the response
322
                        result.EnsureSuccessStatusCode();
322
                        throw new HttpRequestWithStatusException(result.StatusCode,result.ReasonPhrase);
323 323
            }
324 324
            throw new RetryException();
325 325
        }

Also available in: Unified diff