madrobby/zepto — Issue #331: AJAX respects Content-Type
Author: ollym
Created: 2011-11-22 01:16:48+00:00
State: open

If an AJAX call is made to a remote server with no dataType given, and the server responds with a 'application/json' response it should return the parsed json object, not the response text.

Same goes for script and xml. Like how JQuery does it. I'll work on a patch now.