URLUtils.m
changeset 19 5ade3e09a827
parent 17 a1044ae95953
     1.1 --- a/URLUtils.m	Wed Jul 16 10:50:34 2008 -0700
     1.2 +++ b/URLUtils.m	Tue Mar 10 22:34:39 2009 -0700
     1.3 @@ -75,8 +75,7 @@
     1.4      // HTTP status >= 300 is considered an error:
     1.5      int status = self.statusCode;
     1.6      if( status >= 300 ) {
     1.7 -        NSString *reason = NSLocalizedStringFromTable( @"HTTP_ERROR_MESSAGE",@"UKCrashReporter",@"");
     1.8 -        reason = [NSHTTPURLResponse localizedStringForStatusCode: status];
     1.9 +        NSString *reason = [NSHTTPURLResponse localizedStringForStatusCode: status];
    1.10          NSDictionary *info = $dict({NSLocalizedFailureReasonErrorKey,reason});
    1.11          return [NSError errorWithDomain: MyHTTPErrorDomain code: status userInfo: info];
    1.12      } else