[jQuery] jQuery.ajax POST is getting a 411 error.
We're using Rails + jQuery for our xmlHTTPRequests, served up on
nginx.
When making a jQuery.ajax type:'POST', the reponse is: HTTP/1.1 411
Length Required
Doing some curls, I was able to send a post successfully the server by
setting 'Content-Length: 0' as an additional header on the request. I
don't see an obvious way to set additional headers using jQuery.ajax,
though. Has anybody else run into this issue before?