gowalla/AFNetworking — pull request #85 by dstnbrkr (2011-10-20 07:31:20+00:00)
Title: Ignore Content-Type for 204 No Content response.

Bumped into this while upgrading from 0.5.0: integrating with a service that serves 204 No Content as text/plain even though the client requests application/json. 0.5.0 allowed text/plain for JSON requests, 0.7.0 is a bit stricter. Seems safe to ignore content type when there is no content so that AFHTTPRequestOperation doesn't treat it as an error.