Detect JSON Ajax requests by the response content-type (like is done with XML). Fixes...
authorRick Waldron <waldron.rick@gmail.com>
Wed, 6 Jan 2010 00:48:16 +0000 (19:48 -0500)
committerjeresig <jeresig@gmail.com>
Wed, 6 Jan 2010 00:48:16 +0000 (19:48 -0500)
commit787f271052220c20787104f0eba6441aedac22ff
tree107b9e9c434ed1b91c0ecc79174d85c85a217e41
parent230614b4df313493813d688b63ab68f3812a0030
Detect JSON Ajax requests by the response content-type (like is done with XML). Fixes #5709.
src/ajax.js
test/data/json.php
test/unit/ajax.js