title: REstkit Error on Get operation
body: <p>I'm doing a Restkit GET operation but getting an error with Restkit. I tried the same operation with the REST COnsole on Chrome and it works:</p>
  
  <p>DEtails of the GET operation are:
  URL: <a href="https://www.ez-point.com/ezpoints" rel="nofollow">https://www.ez-point.com/ezpoints</a>
  Operation: GET 
  Authorization Header: xxxxxxxxxxxxxxxxxxx</p>
  
  <p>With the Chrome REST Console, it works and I get the proper response in JSON.</p>
  
  <p>With Restkit, it doesn't work. THese are my Restkit codes:</p>
  
  <pre><code>//trying restkit
      NSURL *endpoint = [NSURL URLWithString:@"https://www.ez-point.com/"];
      RKObjectManager* objectManager = [RKObjectManager managerWithBaseURL:endpoint];
      [objectManager.HTTPClient setAuthorizationHeaderWithToken:@"xxxxxxxxxxxxxxxxxxx"];
      [objectManager getObjectsAtPath:@"ezpoints" parameters:nil success:^(RKObjectRequestOperation *operation, RKMappingResult *mappingResult) {
          NSLog(@"Success");
         //NSLog(mappingResult);
      } failure:^(RKObjectRequestOperation *operation, NSError *error) {
          NSLog(@"Failure");
          //NSLog(operation);
          //NSLog(error);
      }];
  </code></pre>
  
  <p>I'm getting this error:</p>
  
  <pre><code>2013-10-25 11:00:11.690 EZ-POINT[1089:c07] I restkit:RKLog.m:34 RestKit logging initialized...
  2013-10-25 11:00:12.820 EZ-POINT[1089:c07] I restkit.network:RKObjectRequestOperation.m:180 GET 'https://www.ez-point.com/ezpoints'
  2013-10-25 11:00:14.184 EZ-POINT[1089:4507] E restkit.network:RKObjectRequestOperation.m:576 Object request failed: Underlying HTTP request operation failed with error: Error Domain=org.restkit.RestKit.ErrorDomain Code=-1016 "Expected content type {(
      "application/x-www-form-urlencoded",
      "application/json"
  )}, got text/html" UserInfo=0x110a3560 {AFNetworkingOperationFailingURLRequestErrorKey=&lt;NSMutableURLRequest https://www.ez-point.com/ezpoints&gt;, NSErrorFailingURLKey=https://www.ez-point.com/ezpoints, NSLocalizedDescription=Expected content type {(
      "application/x-www-form-urlencoded",
      "application/json"
  )}, got text/html, AFNetworkingOperationFailingURLResponseErrorKey=&lt;NSHTTPURLResponse: 0x110b42b0&gt;}
  2013-10-25 11:00:14.185 EZ-POINT[1089:4507] E restkit.network:RKObjectRequestOperation.m:243 GET 'https://www.ez-point.com/ezpoints' (401 Unauthorized / 0 objects) [request=0.0000s mapping=0.0000s total=1.3657s]: Error Domain=org.restkit.RestKit.ErrorDomain Code=-1016 "Expected content type {(
      "application/x-www-form-urlencoded",
      "application/json"
  )}, got text/html" UserInfo=0x110a3560 {AFNetworkingOperationFailingURLRequestErrorKey=&lt;NSMutableURLRequest https://www.ez-point.com/ezpoints&gt;, NSErrorFailingURLKey=https://www.ez-point.com/ezpoints, NSLocalizedDescription=Expected content type {(
      "application/x-www-form-urlencoded",
      "application/json"
  )}, got text/html, AFNetworkingOperationFailingURLResponseErrorKey=&lt;NSHTTPURLResponse: 0x110b42b0&gt;}
  2013-10-25 11:00:14.599 EZ-POINT[1089:c07] Failure
  </code></pre>
  
  <p>Any suggestion?</p>