Skip to content

Commit

Permalink
Item14356: fixed default for content type
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Mar 29, 2017
1 parent 88088d7 commit 40c0ec3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/lib/Foswiki.pm
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,7 @@ sub writeCompletePage {
# rendered from the cache
my $binary_body = 0;

$contentType ||= $this->{response}->getHeader("Content-Type");
$contentType ||= 'text/html';

my $cgis = $this->{users}->getCGISession();
Expand Down

0 comments on commit 40c0ec3

Please sign in to comment.