title: NSMutableURLRequest timeout interval not taken into consideration for POST requests
body: <p>I have the following problem. On a <code>NSMutableURLRequest</code> using the <code>HTTP</code> method <code>POST</code> the timeout interval set for the connection is ignored. If the internet connection has a problem (wrong proxy, bad dns) the url request fails after about 2-4 minutes but not with   <code>NSLocalizedDescription = "timed out";</code></p>
  
  <pre><code>NSUnderlyingError = Error Domain=kCFErrorDomainCFNetwork Code=-1001 UserInfo=0x139580 "The request timed out.
  </code></pre>
  
  <p>If the <code>http</code> method used is <code>GET</code> it works fine. 
     The connection is <code>async</code> over <code>https</code>.</p>
  
  <pre><code>    NSURL *url = [NSURL URLWithString:urlString];
      NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];    
  
      [request setTimeoutInterval:10];
  
      //Set the request method to post
      [request setHTTPMethod:@"POST"];
  
      if (body != nil) {
          [request setHTTPBody:body];
      }
  
      // Add general parameters to the request
      if (authorization){
          [request addValue: authorization forHTTPHeaderField:@"Authorization"];
      }
      [request addValue: WS_HOST forHTTPHeaderField:@"Host"];
      [request addValue:@"text/xml" forHTTPHeaderField:@"Content-Type"];
  
      [[NSURLCache sharedURLCache] setDiskCapacity:0];
  
      [self addToQueueRequest:request withDelegate:delegate];
  
  '
  </code></pre>