[Mono-dev] Transfer-Encoding: chunked + Connection: close

Gonzalo Paniagua Javier gonzalo at novell.com
Thu Jun 29 15:43:51 EDT 2006


On Tue, 2006-06-27 at 18:41 +0200, subscription.sapi wrote:
> We have problem to retrieve an attachment from a Web Page. We use the
> following code:
> 
>  
> 
> Response.ClearContent();
> 
> Response.ClearHeaders();
> 
> Response.Clear();
> 
> Response.ContentType=ContentType;
> 
> Response.AppendHeader("content-disposition", "filename=" +
> NomeAllegatoOriginale);
> 
> Response.BinaryWrite(FileBytes);
> 
> Response.Flush();
> 
> Response.End();

Would you, please, file a bug report in bugzilla? Provide headers sent
under IIS and apache and a standalone page if possible.

Thanks.

-Gonzalo






More information about the Mono-devel-list mailing list