PDA

View Full Version : formUpdate with enctype="application/x-www-form-urlencoded;charset=XXXX"


Vitaliy Shevchuk
04-18-2007, 10:00 AM
Hi,

It's not really a bug, but quite important issue anyway.

I was looking for a way to set "Content-Type" HTTP request header to "application/x-www-form-urlencoded;charset=UTF-8" for an Ajax request.

1. It would be nice if "UpdateManager.formUpdate" supported this kind of stuff:
<form enctype="application/x-www-form-urlencoded;charset=UTF-8">

2. As "encodeURIComponent" always uses UTF8, adding ";charset=UTF-8" to the Content-type is logical for all Ajax request from Ext

Thanks
Vitaliy Shevchuk