MugunthKumar/MKNetworkKit — Issue #8: POST Request with empty body crashes
Author: rsieiro
Created: 2011-12-12 05:00:52+00:00
State: open

Small bug: if you try to send a POST request with an empty body, it crashes.

The problem is that in the `MKNetworkOperation` initialization method you set `fieldsToBePosted` to `[NSMutableArray array]`, when it should be `[NSMutableDictionary dictionary]`. Making this change fixes the problem.