[mod_python] _req.write buffer/flush question

Graham Dumpleton grahamd at dscpl.com.au
Fri Mar 25 17:31:30 EST 2005


Are you or the templating system you are using set the outgoing
content length?

If possible, you might like to post a cut down version of your
code which demonstrates the problem.

On 26/03/2005, at 9:24 AM, Chris Hagner wrote:

> Okay last one (I promise)... apparently if the first
> output string written is large enough, the second
> output string doesn't show up at all in the browser.
> Thus, there's some dependency between the size of the
> first write and the amount of output allowed through
> the second.
>
> Chris
>
> --- Chris Hagner <chagner at yahoo.com> wrote:
>> One last thing...
>>
>> The amount of the truncation of the second write
>> output seems to vary... 95% of the time it appears
>> to
>> cut off at the same place.  But approx 5% of the
>> time
>> a bit more is able to appear.  Not sure if this
>> helps
>> to decipher what's happening.
>>
>> Chris
>>
>
>
>
>
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python



More information about the Mod_python mailing list