[drupal-devel] [feature] Ajax HTTPPost javascript function
Thox
drupal-devel at drupal.org
Sat May 28 13:19:38 UTC 2005
Issue status update for http://drupal.org/node/23746
Project: Drupal
Version: cvs
Component: base system
Category: feature requests
Priority: normal
Assigned to: Anonymous
Reported by: Thox
Updated by: Thox
Status: patch
Attachment: http://drupal.org/files/issues/drupal.js_0.patch (1.29 KB)
I've improved the coding style for a new patch.
Thox
Previous comments:
------------------------------------------------------------------------
May 27, 2005 - 15:57 : Thox
Attachment: http://drupal.org/files/issues/drupal.js.patch (1.25 KB)
I needed to make HTTP posts of some information for an Ajax chat module
I'm testing, so I've added an HTTPPost() function to drupal.js.
It submits information like an HTML form would (using
x-www-form-urlencoded). I'm not sure if assuming all HTTPosts will be
encoded in this way is the best approach. I've never used any other
encoding, but that's just me.
More information about the drupal-devel
mailing list