The .net Compact Framework supports the chunked transfer coding. That
error message means that the http client recognized the entity as chunked,
but had a problem parsing the chunked data itself. There is a known
problem with whitespace in chunk headers (this happens when connecting to
the Yahoo quote service, for example). If this is your problem, you can
work around it by setting the http version to 1.0, which will prevent the
server from sending chunked data.
From what Url are you trying to download chunked data?
Mike Boilen
Developer
.NET Compact Framework
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.gotdotnet.com/team/netcf/FAQ.aspx
--------------------
| From: "Ali Mazaheri" <
[email protected]>
| References: <
[email protected]>
| Subject: Re: Capturing Chunked data with httpwebresponse
| Date: Tue, 14 Oct 2003 10:26:48 -0700
| Lines: 16
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.0
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Message-ID: <
[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: 216-184-214-40.client.dsl.net 216.184.214.40
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:35961
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| When I try to read the stream from getresponsestream I get the following
| error:
| The chunk length was not valid
|
| | > Hi there,
| >
| > Has anyone tried to capture a Chunked data (Transfer-Encoding=chunked)
| > through httpwebresponse?
| >
| > Regards
| >
| >
|
|
|