Changeset 3126 for lang/javascript/jsdeferred
- Timestamp:
- 12/14/07 16:00:25 (13 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/jsdeferred/trunk/binding/userscript.js
r2771 r3126 23 23 } 24 24 xhttp.get = function (url) { return xhttp({method:"get", url:url}) } 25 xhttp.post = function (url, data) { return xhttp({method:"post", url:url, data:data}) } 25 xhttp.post = function (url, data) { return xhttp({method:"post", url:url, data:data, headers:{"Content-Type":"application/x-www-form-urlencoded"}}) } 26 26 27 27 28 /* function http (opts) //=> Deferred
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)