S
Stephen Brown
I have a simple csharp custom webserver client using TcpListener and
AcceptSocket() to receive requests. This works flawlessy with HTTP GETs,
HTTP POSTs, but I have discovered that it is unable to get the POST data
from an AJAX call. The AJAX call is using YUI and is fine, as I can post to
an aspx page and read the posted data. In the custom webserver, I see the
request as sent but the posted data is empty.
Does anybody have any idea why data posted from AJAX would be different from
an HTTP POST? I can follow up with dupe code if necessary.
AcceptSocket() to receive requests. This works flawlessy with HTTP GETs,
HTTP POSTs, but I have discovered that it is unable to get the POST data
from an AJAX call. The AJAX call is using YUI and is fine, as I can post to
an aspx page and read the posted data. In the custom webserver, I see the
request as sent but the posted data is empty.
Does anybody have any idea why data posted from AJAX would be different from
an HTTP POST? I can follow up with dupe code if necessary.