mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-21 02:50:11 +08:00
Required for not getting CF 303 errors. Should probably investigate this more, but don't need to use this.
This commit is contained in:
@@ -84,7 +84,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]];
|
||||
|
||||
Reference in New Issue
Block a user