[fpc-pascal] fpweb and reading the contents of a request
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Mon Oct 17 16:04:14 CEST 2011
On Mon, Oct 17, 2011 at 4:01 PM, Michael Van Canneyt
<michael at 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
More information about the fpc-pascal
mailing list