Change getMimeType and setMimeType to response->content_type.
This commit is contained in:
parent
e5adc07a05
commit
fd8f03a186
52 changed files with 138 additions and 175 deletions
|
|
@ -568,7 +568,9 @@ sub open {
|
|||
|
||||
my $request = WebGUI::Session::Request->new($env);
|
||||
$self->{_request} = $request;
|
||||
##Set defaults
|
||||
$self->{_response} = $request->new_response( 200 );
|
||||
$self->{_response}->content_type('text/html; charset=UTF-8');
|
||||
|
||||
# Use the WebGUI::Session::Request object to look up the sessionId from cookies, if it
|
||||
# wasn't given explicitly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue