Re: [jQuery] Patch: Set Content-Type of an AJAX request

2006-11-01 Thread Jörn Zaefferer
Hi Mark, could you please file this as a bug report? It keeps thing oraganized and me or another commiter can add it at some point. Thanks! -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com

[jQuery] Patch: Set Content-Type of an AJAX request

2006-10-31 Thread Mark Gibson
Hi, I'd like to suggest an additional option for $.ajax() to allow an alternative Content-Type, eg: application/json I'd like to send raw JSON data to a PHP script, but PHP requires that a Content-Type other than the usual 'application/x-www-form-urlencoded' is set before it allows you to access