URLUtils.m
changeset 23 a910102a1c9d
parent 17 a1044ae95953
     1.1 --- a/URLUtils.m	Wed Jul 16 10:50:34 2008 -0700
     1.2 +++ b/URLUtils.m	Tue Apr 07 11:13:25 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