On Mon, Oct 17, 2011 at 4:01 PM, Michael Van Canneyt
<mich...@freepascal.org> wrote:
> ? AFAIK xhttprequest is never synchronous...

It is synchronous if the third parameter of open is set to false:

http://www.w3.org/TR/XMLHttpRequest/#the-open-method

client . open(method, url, async, user, password)

The asynchronous flag
True when fetching is done asychronously. False when fetching is done
synchronously.

> Did you properly encode the content ?

What exactly do I need to do? Pass a header saying it is UTF-8?

I am just sending simple text.

-- 
Felipe Monteiro de Carvalho
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to