When I get the following input stream of chunked data I ge
Request.TotalBy tes = -1 because there is not Content-Length.
The following will work because I hardcoded the correct length:
TotalBytes = 16
strBRequest = Request.BinaryR ead(TotalBytes)
I get: 16 bytes of data (see below)
However, if I don't know the length and try to use something > 16 li
100 then I get at error and the TotalBytes is set to 16 and th
strBRequest is empty.
Does anybody know how to determine how to get around this. I am usin
Transfer-Encoding: chunked because I do not know how much data is bein
uploaded (could be very very large).
POST /test.asp HTTP/1.1
Accept: */*
Host: 192.168.1.10
Content-Type: application/x-www-form-urlencoded
Transfer-Encoding: chunked
10
16 bytes of data
-
d21mik
-----------------------------------------------------------------------
Posted via
http://www.webservertalk.co
-----------------------------------------------------------------------
View this thread:
http://www.webservertalk.com/message437787.htm