title: Asynchronous NSURLConnection with NSOperation
body: <p>I want to do <code>NSURLConnection</code>  in background mode,because it  response is having much data.Forums are telling to use Apple's finite length coding to use in <code>didEnterBackground</code>.
  but I want to avoid it.instead of it I use following code through <code>NSOperation</code> with <code>NSInvocation</code> as, but it is not working.<code>connectToServer</code> is having <code>NSURLConnection</code> operation.any help please?<code>didReceiveData</code>,<code>didReceiveResponse</code> delegate methods are not called?</p>
  
  <pre><code> NSOperationQueue *queue = [NSOperationQueue new];
  
  NSInvocationOperation *operation = [[NSInvocationOperation alloc] initWithTarget:self
                                                                          selector:@selector(connectToServer)
                                                                            object:nil];
  
  [queue addOperation:operation];
  [operation release];
  [queue autorelease];
  
   -(void)connectToServer
  {
  NSURL *url = [NSURL URLWithString:@"http://www.google.com"];
  NSMutableURLRequest *theRequest = [NSMutableURLRequest requestWithURL:url];
  NSURLConnection *theConnection = [[[NSURLConnection alloc] initWithRequest:theRequest delegate:self] autorelease];
  
      if( theConnection )
      {
          webData = [[NSMutableData data] retain];
      }
      else
      {
          NSLog(@"theConnection is NULL");
      }
  }
  </code></pre>