X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Ftransports.phh;h=08ad7a0bbb380c19a96aa44517118793276c6d41;hb=14136ff3d45c9d1212d6b5e0fd789b57ed73b893;hp=b426043ab8e93f365b03a3f68f7453ea12cdb0d9;hpb=4a2bbbc1fee0ffb152eba1ef5587f07cee4250a1;p=brisk.git diff --git a/web/Obj/transports.phh b/web/Obj/transports.phh index b426043..08ad7a0 100644 --- a/web/Obj/transports.phh +++ b/web/Obj/transports.phh @@ -47,14 +47,24 @@ class Transport_xhr { function init($enc, &$header_out, $init_string, $base, $step) { + $ret = $init_string; + if ($enc != 'plain') + $header_out['Content-Encoding'] = $enc; + $header_out['Cache-Control'] = 'no-cache, must-revalidate'; // HTTP/1.1 + $header_out['Expires'] = 'Mon, 26 Jul 1997 05:00:00 GMT'; // Date in the past + $header_out['Content-type'] = 'application/xml; charset="utf-8"'; + + return ($ret); } static function fini($init_string, $blockerr) { + return (""); } function chunk($step, $cont) { + return ("@BEGIN@".$cont."@END@"); } } @@ -125,4 +135,8 @@ push(\"%s\");\n// -->\n", $step, escpush($cont) ); } } } + +class Transport_htmlfile extends Transport_iframe { +} + ?> \ No newline at end of file