Priority: Urgent
Current State: Closed
Released In: 1.0.1
Target Release: patch
Applies To: Engine
Component: Foswiki::Engine
Branches:
distro:c684bcd80e68 PublishPlugin:4a6ba2cae512 made the following change to
Foswiki::Engine::finalizeHeaders
, among other updates:
if ( $req && $req->method() eq 'HEAD' ) {
- $res->body('');
+ $res->print('');
$res->deleteHeader('Content-Length');
}
In this specif case the response body must be discarded, so the correct behavior is to call
->body
instead of
->print
--
GilmarSantosJr - 11 Jan 2009