[drupal-devel] [feature] Ajax HTTPPost javascript function

Thox drupal-devel at drupal.org
Fri May 27 15:57:32 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.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.




Thox




More information about the drupal-devel mailing list