…quests. I was incorrectly setting the root Content-Type, I also failed to add an extra newline between image boundaries. I also incorrectly terminated the last multipart boundary. I don't know if I've correctly established the relationships between the root part and the image parts, but at least now Rails isn't choking on the requests. As well, I've examined the outgoing packets using Wireshark and have been able to extract the image data intact. In short: big bugs fixed, and we're much closer to a fully functioning implementation.
…jectiveResource. This method allows users to append GET parameters to remote collection requests. Note that this change depends on the new NSDictionary+UrlEncoding Category that's been added to Objective Support.
ObjectiveResource can now be confiured to upload multipart/related data. These changes work hand-in-hand with updates I've made to the linked ObjectiveSupport sub-project, which now supports serialization of binary data (such as images). These changes are a work in progress, as support still needs to be added for JSON serialzation and deserialzation in both XML and JSON.
…tion_controller.rb" Signed-off-by: Ryan Daigle <firstname.lastname@example.org>
…_controller.rb" Signed-off-by: Ryan Daigle <email@example.com>
…o that you can have local properties which will not be saved out remotely Signed-off-by: Joshua Vickery <firstname.lastname@example.org>
This initial commit has full support for JSON with unit tests that demonstrate the functionality. When switching into XML mode some unit tests fail so the XML support for this new functionality still needs attention. Signed-off-by: Joshua Vickery <email@example.com>
Signed-off-by: Joshua Vickery <firstname.lastname@example.org>
* 'master' of email@example.com:yfactorial/objectiveresource: [#39] brilliant find Adam! using a custom run loop mode seems to take care of this problem Revert "[#39] run the NSURLConnection in the NSConnectionReplyMode rather than the NSDefaultRunLoopMode" [#39] run the NSURLConnection in the NSConnectionReplyMode rather than the NSDefaultRunLoopMode Added refresh button to People View
… care of this problem
…ther than the NSDefaultRunLoopMode" This reverts commit dc4fe44. It looks like NSURLConnection needs to run in the default mode, or it will exit immediately.
…n the NSDefaultRunLoopMode
…lts and to more accurately reflect what they do