AFNetworking/AFNetworking — pull request #314 by electrobarn (2012-04-24 17:04:14+00:00)
Title: Output AFHTTPRequestOperation as curl command and echo response

I played with MKNetworkKit for a couple of days before running into some issues and switching back to AFNetworking. The main feature of MKNetworkKit that I missed the most was begin able to see a curl equivalent of the AFHTTPRequestOperation as well as the response.

I've thus adapted the MKNetworkKit mechanism of outputting curl and echoing the response to AFNetworking. It can be enable for all requests via the preprocessor macro _AFNETWORKING_OUTPUT_CURL_AND_ECHO_RESPONSE_

Dave