Set default mime-type to include character encoding inside Session/Http.pm
Fix typo in pod in AddUserToGroup workflow.
This commit is contained in:
parent
a25d621343
commit
4ed1ffe3c7
2 changed files with 3 additions and 2 deletions
|
|
@ -37,6 +37,7 @@ This package allows the manipulation of HTTP protocol information.
|
||||||
$mimetype = $http->getMimeType();
|
$mimetype = $http->getMimeType();
|
||||||
$code = $http->getStatus();
|
$code = $http->getStatus();
|
||||||
($code, $description) = $http->getStatus();
|
($code, $description) = $http->getStatus();
|
||||||
|
$description = $http->getStatusDescription();
|
||||||
$boolean = $http->isRedirect();
|
$boolean = $http->isRedirect();
|
||||||
|
|
||||||
$http->setCookie($name,$value);
|
$http->setCookie($name,$value);
|
||||||
|
|
@ -99,7 +100,7 @@ Returns the current mime type of the document to be returned.
|
||||||
|
|
||||||
sub getMimeType {
|
sub getMimeType {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
return $self->{_http}{mimetype} || "text/html";
|
return $self->{_http}{mimetype} || "text/html; charset=UTF-8";
|
||||||
}
|
}
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use WebGUI::International;
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
Package WebGUI::Workflow::Activity::RunCommandAsUser
|
Package WebGUI::Workflow::Activity::AddUserToGroup;
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue