forcedotcom/SalesforceMobileSDK-iOS — Issue #32: RKRequestDelegateWrapper send assumes that it will prepend /services/data
Author: tstellanova-sfdc
Created: 2012-02-02 20:06:00+00:00
State: open

Originally reported here:

http://boards.developerforce.com/t5/Mobile/In-iOS-how-do-you-get-the-nextRecordsURL-data/m-p/392379/thread-id/262

The problem appears to be that URLs returned from the REST API already have /services/data prepended, and yet RKRequestDelegateWrapper assumes that it will prepend it. The result is that it ends up building a bogus request URL.

We will modify RKRequestDelegateWrapper to check whether the endpoint path is already prepended.