Required for not getting CF 303 errors. Should probably investigate this more, but don't need to use this.

This commit is contained in:
Patrick Shields
2010-11-07 12:13:46 -05:00
parent 16ce43aedd
commit bea7ec607c

View File

@@ -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]];