Merge branch 'master' of https://github.com/pashields/RestKit into pashields-master

This commit is contained in:
Blake Watters
2010-12-13 17:49:04 -05:00
7 changed files with 48 additions and 50 deletions

View File

@@ -95,7 +95,7 @@
[_params release];
_params = params;
if (params) {
if (params && ![self isGET]) {
// Prefer the use of a stream over a raw body
if ([_params respondsToSelector:@selector(HTTPBodyStream)]) {
[_URLRequest setHTTPBodyStream:[_params HTTPBodyStream]];