[Mono-dev] Apache+Mono+Content-Length problem

2006-02-15 Thread Arnhoffer Károly
Hi, This might be an Apache problem but someone may can help me. I would like to set the Content-Length header in a simple aspx page as follows: %Response.AddHeader(content-length, 1000);% a When using XSP instead of Apache it is good the Content-Length header in the captured traffic shows

Re: [Mono-dev] Apache+Mono+Content-Length problem

2006-02-15 Thread Rafael Ferreira
Apache must be overwriting the content headers that it is getting back from mod_mono handler. You should try sending a Response.FlushResponse(False) so the header information is actually sent down the socket thus leaving Apache no chance to overwrite it. Now, I'm saying this from pure speculation