title: NSURLConnection delegate methods are not called
body: <p>I am trying to create a simple NSURLConnection to communicate with a server using a GET request. Connection works well, but delegates methods of NSURLConnection are never called..</p>
  
  <p>Here is what am doing:</p>
  
  <pre><code>NSString *post = [NSString stringWithFormat:@"key1=%@&amp;key2=%@&amp;key3=%f&amp;key4=%@", val1, val4, val3, val4];
  
  NSMutableURLRequest *request = [[[NSMutableURLRequest alloc] init] autorelease] ;
  
  [request setURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://www.domain.com/demo/name/file.php?%@", post]]];
  
  NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:request delegate:self];
  [connection start];
  </code></pre>
  
  <p>Have implemented the following delegate methods, but none of them is called..</p>
  
  <pre><code>-(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error{
      NSLog(@"did fail");
  }
  -(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data{
      NSLog(@"did receive data");
  }
  -(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response{
      NSLog(@"did receive response ");
  }
  -(void)connectionDidFinishLoading:(NSURLConnection *)connection{
      NSLog(@"did finish loading");
      [connection release];
  }
  </code></pre>
  
  <p>Am I missing something?</p>