MugunthKumar/MKNetworkKit — Issue #26: MKNetworkOperation postDataEncoding Content-Type headers are set in initWithURLString
Author: eric-sofisoftwarellc
Created: 2012-01-05 18:01:56+00:00
State: open

In the following idiom:

MKNetworkOperation * op = [[MKNetworkOperation] alloc] initWithURLString:...

There's no opportunity to set op.postDataEncoding, which means the code in initWithURLString to set the relevant headers won't ever be called. The encoding should probably be passed as a parameter.