Make sure that requests without a body don't set contentType, and a zero-length body...
authorDave Methvin <dave.methvin@gmail.com>
Fri, 24 Sep 2010 21:56:03 +0000 (17:56 -0400)
committerjeresig <jeresig@gmail.com>
Fri, 24 Sep 2010 21:56:03 +0000 (17:56 -0400)
commitc4e653237f258ce618ad5a9ec677917166fbed16
treeaef71147a63f94a14f0bc5a51d77e50dd2e0504f
parent1130beb72be9d9f5d6bb6f303501da5ec2e3744e
Make sure that requests without a body don't set contentType, and a zero-length body is sent rather than null. Possible fix for #6811 and #6674.
src/ajax.js