xuijs / xui

A tiny javascript framework for mobile web apps.
http://xuijs.com
788 stars 106 forks source link

Consider adding content-type: 'application/x-www-form-urlencoded' for every XHR POST request #57

Closed Reinmar closed 13 years ago

Reinmar commented 13 years ago

Hi, Now I have to set this header every time I'm doing post request. Prototype for example always (even for get requests) add this header. Thanks to this it works with e.g. PHP's $_POST variable.

filmaj commented 13 years ago

Fixed in 454bd6d. Didn't tag it as I didn't think it was necessary, but yeah, it's there anyways