304 response returns content?

From: Date: Wed, 05 Jun 2002 07:04:45 +0000
Subject: 304 response returns content?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4601@lists.php.net to get a copy of this message
If I use cache_modified_check = true Smarty seems to return response '304 Not Modified' ok, but also returns content. Shouldn't the content of such a reponse be empty? Some browsers don't behave well when the get content in 304 response. I tested the following modification: $ diff Smarty.class.php Smarty.class.php.new 609a610
                            echo $_smarty_results;
610a612,613
                    } else {
                        echo $_smarty_results;
612d614
<                     echo $_smarty_results;
with good results. Can someone review this and and correct the code if my suggestion is correct? moj

« previous php.smarty.general (#4601) next »