Latest Updates@NIOperation.m Break NINetworkRequestOperation #178

Closed
jimzhan opened this Issue Mar 21, 2012 · 1 comment

Projects

None yet

2 participants

@jimzhan
jimzhan commented Mar 21, 2012

Previous working version can now only simply throw NSURLErrorDomain exception.
It's caused by the new checking condition for 404 as stated at line 100, quite obviously it's wrong...

  if (httpResponse.statusCode >= 200 && httpResponse.statusCode < 300) {
    networkError = [NSError errorWithDomain:NSURLErrorDomain
                                       code:NSURLErrorResourceUnavailable
                                   userInfo:nil];
  }   
Owner

Fixed by e13ec4a.

@jverkoey jverkoey closed this Mar 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment