PDA

View Full Version : I want to know about 'headers'



enjoyman
20 Sep 2007, 1:37 AM
Who can help me please?
I was used Ext.Ajax.request but I don't understand how can I use parameter "headers". The truth I want to send my data in thai from my machine to server in tis-620 encoding but it is utf-8. How can I send my data in tis-620. who can told me please.
Thank you very much.:s

Animal
20 Sep 2007, 2:39 AM
the headers option sets HTTP headers. That won't affect the encoding that the browser uses. I don't think you can affect that, I think it will use UTF-8 for XHRs.

See http://www.w3.org/TR/2007/WD-XMLHttpRequest-20070618/#dfn-send point 4