It doesnt work. The server respond with 406 then ajax not catch the answer. Maybe is my bad.