[Mono-dev] R: Transfer-Encoding: chunked + Connection: close
subscription.sapi
subscription.sapi at apsystems.it
Fri Jun 30 02:59:28 EDT 2006
We found a solution:
Our web page inherit from a base class web page with some initialization code. One of the line in base class is the following:
Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);
This line is the blame of the problem.
Someone know why ?
and why the different behaviour with IIS and Apache+Mono ?
and more, why different behaviour with Internet Explorer and Firefox ?
If you think it be usefull to file a bug report in bugzilla, tell us. The problem however does not reside in the http header, how we think at first stage.
Roberto Cazzato
A.P.Systems srl
via Milano 89/91, ang. via Cimarosa
20013 Magenta (MI)
Tel: +39 02 972261
Fax: +39 02 97226339
Mobile: +39 348 2200850
E-Mail: roberto.cazzato at apsystems.it
http://www.apsystems.it
-----Messaggio originale-----
Da: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-bounces at lists.ximian.com] Per conto di Gonzalo Paniagua Javier
Inviato: giovedì 29 giugno 2006 21.44
A: mono-devel-list at lists.ximian.com
Oggetto: Re: [Mono-dev] Transfer-Encoding: chunked + Connection: close
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
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list