mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-23 12:27:52 +08:00
Merge branch 'master' of https://github.com/pashields/RestKit into pashields-master
This commit is contained in:
@@ -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]];
|
||||
|
||||
Reference in New Issue
Block a user