i wrote a .json file and want to download it with AFNetworking. But AFNetworking complains: fail Expected content type {( "text/json", "application/json", "text/javascript" )}, got text/plain
my JSON file test.json
{
"count-packages": 5,
"packages":
{
"de":
{
"0": "Wackel Dackel",
"1": "Hans Wurst",
"2": "Peter Ploes",
"3": "Tiffel Toffel",
"4": "China Mann"
},
"en":
{
"0": "Wobble dachshund",
"1": "Hans Sausage",
"2": "Peter Ploes",
"3": "Tiffel Potato",
"4": "Peking Ente"
}
}
}
HTTP/1.1 200 OK
Date: Mon, 06 Feb 2012 17:31:06 GMT
Server: Apache/1.3.41 Ben-SSL/1.59
Last-Modified: Mon, 06 Feb 2012 17:28:13 GMT
ETag: "18039c71-205-4f300dad"
Accept-Ranges: bytes
Content-Length: 517
Content-Type: text/plain
How can I change the Content-Type?