J
Jacek
Hi!
My app does quite a bit of work downloading large chunks of data from
different web servers. One of problems I face is to provide approximate
progress reports to users showing download progress. While task is trivial
when web servers set Content-Length header in response its getting to be
really hard when server uses chunked encoding. The only way according to
HTTP 1.1 RFC 2616 to get info on total size of the chunked message is to
read optional TRAILER containing entity header fields (my solution anyway
would be optional).
The problem is that I see no ways to access chunked header or TRAILER in
..NET other than implementing my own HTTP classes on top of Net Sockets
Any ideas how to get it done easy way ?
cheers
My app does quite a bit of work downloading large chunks of data from
different web servers. One of problems I face is to provide approximate
progress reports to users showing download progress. While task is trivial
when web servers set Content-Length header in response its getting to be
really hard when server uses chunked encoding. The only way according to
HTTP 1.1 RFC 2616 to get info on total size of the chunked message is to
read optional TRAILER containing entity header fields (my solution anyway
would be optional).
The problem is that I see no ways to access chunked header or TRAILER in
..NET other than implementing my own HTTP classes on top of Net Sockets

Any ideas how to get it done easy way ?
cheers