Hello all,
I'm running into an issue with the object loader only allowing responses without content to have a 204 status code[1]. In my case, I have a resource that allows PUTs to a queue for processing. That resource responds with a
status 202 (accepted, but not processed) and a location header is included to a work status resource which gives the
status of the queued work.
While technically it's easy enough to fix the problem by changing the queuing resource to respond with a 204 status code , I think the object loader might be a little too strict with acceptable responses.
I would like to send a pull request to change the object loader to allow responses with no content having status codes 200-206, but I'm interested in hearing people's opinions about this.
Thanks,
John
[1]:
https://github.com/RestKit/RestKit/blob/master/Code/ObjectMapping/RKObjectLoader.m#L301